DIFF

class Physics6DOFSpringJointSource

Physics6DOFSpringJoint Physics6DOFJoint PhysicsJoint

All members, including inherited

Methods 1

proto external void SetSpring(int axis, float stiffness, float damping)

Sets spring parameters on a particular axis. When stiffness == -1 && damping == -1, spring is disabled.

axis
Axis to be modified
stiffness
Value of the spring stiffness (Hooke's Law)
damping
Value of the spring damping. Between 0 and 1 (1 == no damping)