• Physics slider joint type.

Fields

@:optionaloptionalupper_translation:Null<Float>

  • The upper translation limit, usually in meters.

@:optionaloptionalreference_angle:Null<Float>

  • The constrained angle between the bodies: bodyB_angle - bodyA_angle.

@:optionaloptionalmotor_speed:Null<Float>

  • The desired motor speed in radians per second.

@:optionaloptionalmax_motor_force:Null<Float>

  • The maximum motor torque, usually in N-m.

@:optionaloptionallower_translation:Null<Float>

  • The lower translation limit, usually in meters.

@:optionaloptionallocal_axis_a:Null<Vector3>

  • The local translation unit axis in bodyA

@:optionaloptionalread onlyjoint_translation:Null<Float>

  • Current joint translation, usually in meters

@:optionaloptionalread onlyjoint_speed:Null<Float>

  • Current joint translation speed, usually in meters per second.

@:optionaloptionalenable_motor:Null<Bool>

  • Enable/disable the joint motor.

@:optionaloptionalenable_limit:Null<Bool>

  • Enable/disable the joint limit.

@:optionaloptionalcollide_connected:Null<Bool>

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