Raycast bug?
Posted: Wed Nov 17, 2010 7:36 am
Hey norbo i have been doing things as per normal and when adding a hammer to our game i have encountered something very odd that i have never encounted before...
Which is that raycasting this object (a compound body with 2 bodys) fails when the object is rotated...
What is odd about this is that we have only one simulator and its debug says everything is rotating correctly but it isn't...
If i rotate the hammer i cannot select the object correctly... with the raycasting.
The only thing to note is the physics is running at a very small timestep at all times during edit mode but i have never seen any selection be off by even the smallest bit before and this is off by heaps.
For selection we raycast the same simulator that is having its debug shown...
Here is a video.
http://www.youtube.com/watch?v=LbbVmgL8hJo
Thanks for your help.
Which is that raycasting this object (a compound body with 2 bodys) fails when the object is rotated...
What is odd about this is that we have only one simulator and its debug says everything is rotating correctly but it isn't...
If i rotate the hammer i cannot select the object correctly... with the raycasting.
The only thing to note is the physics is running at a very small timestep at all times during edit mode but i have never seen any selection be off by even the smallest bit before and this is off by heaps.
For selection we raycast the same simulator that is having its debug shown...
Here is a video.
http://www.youtube.com/watch?v=LbbVmgL8hJo
Thanks for your help.