3D DREAMS
Animating 3D Objects:
Attempting to set dummy nodes dynamically so that they can be used to animate various object around their axis, such as the door on the building above.
- Click the door to open or close it.
- You can navigate by clicking on anything besides a door.
- 3 more cooler doors open inside.
- The screen shot below shows the heirarchy before runtime.
- At runtime, I set the position of the dummy nodes to the edges of the doors.
- Then set the doors as a children to the dummy nodes.
- I then change the orientation of the dummy node and the door appears to open.
- Here's the source if you would like it. PC only, sorry.
comments:Dave
|