EntHingeJointMotor

Hinge Joint Motor
Causes a Hinge Joint to rotate.

ID: EntHingeJointMotor
Requires Components: Hinge Joint
Base Type: Entity Component

Values

NameTypeDescription
MotorBool Variable
Motor SpeedNumber VariableThe motor's target speed.The speed of the motor is influenced by the mass of the connected entity, so if the Motor Force is too low it may be unable to reach the set speed. - degrees/s
Set Target AngleBool Variable
Spring ForceNumber VariableThe force of the spring used to reach the target angle.This force is influenced by the mass of the connected entity, so if the Spring Force is too low it may be unable to reach the target angle. - kn
Spring DamperNumber VariableThe spring's damper. This effects the speed that the spring moves at.Higher values will make the spring move more slowly, but help prevent it from overshooting it's target. - kn
Target AngleNumber VariableThe target angle. Note that this is effected by the joint limit on the Hinge Joint component. - degrees
Motor ForceNumber VariableHow fast the motor is able to spin the joint. This influences how quickly the motor will reach it's set speed. - kn
ReverseBool Variable
PendulumBool VariableSwings like a pendulum between min/max angles
Pendulum ReversedBool Variable - ReadOnly