Table of Contents

Component Physics

(NOTE) Defines spring properties for a joint. Used to make a joint soft and therefore behave spring-like. A joint spring has a frequency in hertz at which to oscillate as well as a damping ratio. The ratio should vary from 0 to 1 where 0 is no damping and 1 is critical damping. See each joint for a description of how it reacts to a spring.

Methods Properties Base Classes Derived Classes
Constructor Active component
AtomIds
DampingRatio
FrequencyHz

Properties


Active : boolean

Determines if this spring is active.

var Active : Boolean

AtomIds : integer

Signifies what atoms on the joint this affects. For internal use.

var AtomIds : Integer

DampingRatio : real

The damping ratio of this spring. The value should range from 0 to 1 where 0 is no damping and 1 is critical damping.

var DampingRatio : Real

FrequencyHz : real

The oscillation frequency of the spring in Hertz (cycles per second).

var FrequencyHz : Real

Methods


JointSpring : Void

constructor

Name Type Description
function JointSpring()