JointDrive Manual     Reference     Scripting  
Scripting > Runtime Classes > JointDrive
JointDrive Struct

How the joint's movement will behave along its local X axis

Variables
mode

Whether the drive should attempt to reach position, velocity, both or nothing

positionSpring

Strength of a rubber-band pull toward the defined direction. Only used if mode includes Position.

positionDamper

Resistance strength against the Position Spring. Only used if mode includes Position.

maximumForce

Amount of force applied to push the object toward the defined direction. Only used if Mode includes Velocity.