[MDX] BoxBoundProbe + RotationYawPitchRoll
Hi!
I was doing a BoxBoundProbe but now, my object rotate using RotationYawPitchRoll... How can i ajuste my BoxBoundProbe ????
Can i affect a transformation on ly localDirection vector?? something like that :| .. or maybe the only way is to use a Temp Mesh for Picking test..
thanks for help a+
You can't change the coordinates of the box to rotate according to your mesh - you'd have to expand the box so that it became a new bounding box. It's not difficult, but it's unlikely to be accurate nor fast...
Instead, I would give some thought to changing the ray position and direction. I've not double-checked it, but if you multiply the ray position by the world transform they should be in the same coordinate spaces again - thus checking on the original box (with modified ray) will be correct.
hth
Jack
Instead, I would give some thought to changing the ray position and direction. I've not double-checked it, but if you multiply the ray position by the world transform they should be in the same coordinate spaces again - thus checking on the original box (with modified ray) will be correct.
hth
Jack
Ok yeah i tried it already but it don't seem to work.. i'll try to draw the Ray so I can see what happen...
Thanks a+
Thanks a+
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement