Patrick,

As ben said, if the "direction" vector you are referring to is -where the
object is pointing towards- and when you are moving the objects you are
making sure that the objects look in the direction of the motion, you are
talking about the velocity vector of the objects, which is the derivative of
the object's position in time.

I guess you could obtain this by analyzing the objects current position with
it's previous one and obtaining a differential vector, or you could also do
something with the object's rotationX, Y and Z values to extract the
information from there...

On Sat, Feb 7, 2009 at 8:19 AM, ben <[email protected]> wrote:

>
> Hi !
> by "direction", do you want the angle to the point the object is
> looking at,
> or do you mean the vector of it's movement.
>
> If (your question == the second)
> how do you manage object's movement ?
> This can help you find it if you can get each step position of the
> object.
>
> >"This describes the absolute position in the coordinate system as well
> as the vector starting at [0,0,0] and ending at the Number3D. "
> your right but you have to normalize it if you want to use it.

Reply via email to