Great thanks, so does this translation matrice only set the objects position, or can it be used to as a vector matrice?
Say we have this point:
How do I get the object to move from its origin to the point (100,50) with a speed of about 20 ms-1. If you could show me an example of how this would be done, that would be cool.
The transform tree of the scene graph describes the static position of everything at the scene at one point in time.
If you arent writing a game and can use "sloppy motion" where you cant count on wher it isin any given frame, you cna use Java 3D's interpolators to interpolate a transform matrix between to values over time.
If youa re doing a game or some other kind pof program that requires rpecise control of motion then you need to write animation code that is called from a WakeupOnFrame(0) behavior to do the animation.
If you'ld like to see an example, you can grab my code for JNWN at jnwn.dev.java.net. Look at AnimationBehavior and how it works. I warn you its moderately complex because it handles a variety of animation manipulations, not just motions.