Hi everyone, I have a problem.
I want to check, via getSceneNodeFromRayBB, what is in front of a given scene node. I know the position and rotation of the node (obviously), but for the life of me I cannot calculate what parameters should I pass as the line ending point and beginning points. The line ending point should be a given amount, let's say "dist" amount of units in front of the object in the direction it's facing. The beginning should also be in front of the object as not to collide with the object itself. Can anyone give me a hand here?
Check what's in front of the object (solved)
Check what's in front of the object (solved)
Last edited by nayon on Thu May 21, 2009 12:18 pm, edited 1 time in total.