RaycastPicker PickingCollisionVO with no uv’s

Software: Away3D 4.x

geekay, Jr. Member
Posted: 06 March 2013 10:30 PM   Total Posts: 40

I am attempting to combine this mouse picking tutorial (http://away3d.com/tutorials/Introduction_to_Mouse_Picking) with using Raycast. It seems as if my raycast sees the collision, but it is not returning the uv’s (even though the pickingcollisionVO is not null).

I am wondering if you have any suggestions why this might be the case, and possibly any suggestions on how to fix it.

tl;dr does raycastpicker give uv’s data from where the collision takes place (much like it does with mousemove)?

Thanks

   

geekay, Jr. Member
Posted: 07 March 2013 07:25 PM   Total Posts: 40   [ # 1 ]

For others with this issue, I did not have a pickingCollider set on the mesh in question. By default it uses the bounding box to find collisions, and that does not return any UV’s.

However, now I have another problem… the numbers I am coming up with for the UV’s are not properly drawing to the texture. I have my pickingCollider set to AUTO_BEST_HIT, and I am drawing onto the texture just as it is done in the above tutorial link… for some reason it is not drawing correctly in the proper location…

If anybody has any time and can help me out, I would be greatly in your debt!

Thanks for your time.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X