Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Rotating door

843799Nov 19 2001 — edited Nov 19 2001
Hi,
I saw the door example in the Java 3D Tutorial. If you want to open the door, it is rotating around the y-axis which is centered in the cube's body. I am trying to make it look a bit more realistic.

I put a box instead of a cube and I am now trying to rotating thing because the rotating axis of a door is not the center y-Axis but a y-Axis which is located at one side of a door. How can I shift the rotation axis or is there another way to make the rotation look more realistic? I tried to multiply the rotation with a translation, but it does not look perfect.

Can anyone help me?
Thanks,
Mitsch
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 17 2001
Added on Nov 19 2001
4 comments
142 views