finding the direction of a body

fuinelen_

25-10-2006 06:47:49

is there a way to find the direction in which a body is moving?
getVelocity apparently only returns the absolute velocity, not the actual vector of the movement.

bbye,
Sammy

walaber

25-10-2006 06:54:57

getVelocity returns the velocity vector in world space, in units/second.

fuinelen_

25-10-2006 22:13:05

oops .. thanks :) I missed the "WORLD" part while reading the API docs :oops:

bbye,
Sammy