API Docs for: 0.1.0
Show:

config.component.physics.joint.revolute Class

* THIS IS NOT A CLASS! ITS A CONFIGURATION OBJECT. *

Physics revolute joint configuration.

Used by zerk.game.engine.component.physics

Properties

anchorSourceX

Float

Horizontal anchor position of the joint on the source body

anchorSourceY

Float

Vertical anchor position of the joint on the source body

anchorTargetX

Float

Horizontal anchor position of the joint on the target body

anchorTargetY

Float

Vertical anchor position of the joint on the target body

enableLimit

Boolean

Whether the joint limits will be active

enableMotor

Boolean

Whether the joint motor will be active

lowerAngle

Float

Angle for the lower limit

maxMotorTorque

Float

Motor torque

The maximum allowable torque the motor can use. A torque too weak won't be able to move the bodies.

motorSpeed

Float

The target speed of the joint motor

Positive for counter clockwise, negative for clockwise

type

String

Type name of the joint

upperAngle

Float

Angle for the upper limit