SJointMotor
Index
Functions Index
Function Name
Properties Index
Property Name
Functions
ToString
override string ToString ()
Returns this SJointMotor's properties as a string
Parameter
Type
Description
New
static SJointMotor New (float targetVelocity, float force, bool freeSpin)
Creates a new SJointMotor with the given targetVelocity, force, freeSpin.
Parameter
Type
Description
Properties
TargetVelocity
float TargetVelocityget
The motor will apply a force up to force to achieve targetVelocity.
Force
float Forceget
The motor will apply a force.
FreeSpin
bool FreeSpinget
If freeSpin is enabled the motor will only accelerate but never slow down.
Last updated
Was this helpful?