Well, just wanted to say that i am completly at a loss for this.
nothing i seem to try works. I never thought it would be so hard to find the angle or direction a body is moving in?
what i dont understand are:
1.Everyone (other forums) tells me the "getbodyvelocity" gets me the direction the body is moving. If thats so, how come if i add torque to my body so that it now faces 45 degrees, and the body MOVES in that direction, the getbodyvelocty does not return 45, so.. what does it return? It returns a speed along the axis?
2.The idea of getting the direction by using the old coords against the new coords also brings me to the same issue? I end up with again, my object facing direction as say 45 and the direction vector of the old coords against the new coords is an extreamly small number?
All i want to know is the DIFFERENCE between the local facing angle to the local movement angle, so when i rotate the object againz it recalculates the difference again, and again and again, all the time.
If the object is facing 50 degrees but is moving at an angle say 30 degrees, how do i find that 30 degrees value??
Does anyone know how this can be done, it seem so easy but also seems to be.
Thanks
Andy