Saturday, May 15, 2010

Java 3D - Rotating an object about a specific point!

This is similar to changing the pivot point of an object.

1. Get the Transform T which transforms P to Point (0,0,0)
2. Apply T on A
3. Rotate A (around (0,0,0))
4. Transform A with the inverse of T"

This method is essential in using a modeled object is used to animate within any environment.

No comments:

Post a Comment