SoPendulum¶
- InventorModule¶
genre
author
package
definition
Purpose¶
The SoPendulum node is derived from SoRotation, applying a rotation to the current transformation.
Using engines connected to the realTime global field, the rotation value is animated over time between two fixed rotations, achieving the effect of a swinging pendulum. The period of the swing can be adjusted by changing the speed field.
The current rotation at any time is available in the rotation field inherited from SoRotation.
Windows¶
Default Panel¶
Output Fields¶
self¶
- name: self, type: SoNode¶
Parameter Fields¶
Field Index¶
|
|
|
|
|
Visible Fields¶
Rotation¶
- name: rotation, type: Rotation, default: 0 0 1 0¶
Shows the current rotation.
Rotation0¶
- name: rotation0, type: Rotation, default: 0 0 1 0¶
Sets the starting rotation.
Rotation1¶
- name: rotation1, type: Rotation, default: 0 0 1 0¶
Sets the ending rotation.
Speed¶
- name: speed, type: Float, default: 1¶
Sets the speed of the pendulum in cycles per second.
On¶
- name: on, type: Bool, default: TRUE¶
If checked, the swinging is enabled.