• Physics hinge joint type.

Fields

@:optionaloptionalupper_angle:Null<Float>

  • The upper angle for the joint limit (radians)

@:optionaloptionalreference_angle:Null<Float>

  • The bodyB angle minus bodyA angle in the reference state (radians).

@:optionaloptionalmotor_speed:Null<Float>

  • The desired motor speed. Usually in radians per second.

@:optionaloptionalmax_motor_torque:Null<Float>

  • The maximum motor torque used to achieve the desired motor speed. Usually in N-m.

@:optionaloptionallower_angle:Null<Float>

  • The lower angle for the joint limit (radians).

@:optionaloptionalread onlyjoint_speed:Null<Float>

  • Current joint angle speed in radians per second.

@:optionaloptionalread onlyjoint_angle:Null<Float>

  • Current joint angle in radians

@:optionaloptionalenable_motor:Null<Bool>

  • A flag to enable the joint motor.

@:optionaloptionalenable_limit:Null<Bool>

  • A flag to enable joint limits

@:optionaloptionalcollide_connected:Null<Bool>

  • Set this flag to true if the attached bodies should collide.