Skip to Main Content

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 due to inactivity on Dec 17 2001
Added on Nov 19 2001
4 comments
48 views