SoPendulum

InventorModule
genre InventorNodesAutomatic
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def

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

../../../Modules/Inventor/InventorBase/mhelp/Images/Screenshots/SoPendulum._default.png

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

On: Bool
Rotation: Rotation
Rotation0: Rotation
Rotation1: Rotation
Speed: Float

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.