DIFF

class PhysicsSliderJointSource

PhysicsSliderJoint PhysicsJoint

All members, including inherited

Methods 12

proto external void SetLinearLimits(float lowerLimit, float upperLimit)

Sets linear limits of the joint.

lowerLimit
Value of the lower linear limit
upperLimit
value of the upper linear limit
proto external float GetLinearPos()

Returns value of the linear position

proto external float GetAngularPos()

Returns value of the angular position

proto external void SetAngularLimits(float lowerLimit, float upperLimit)

Sets angular limits of the joint.

lowerLimit
Value of the lower angular limit
upperLimit
Value of the upper angular limit
proto external void SetDirLinear(float softness, float restitution, float damping)

Sets parameters relevant for moving inside linear limits

softness
restitution
damping
proto external void SetDirAngular(float softness, float restitution, float damping)

Sets parameters relevant for moving inside angular limits

softness
restitution
damping
proto external void SetLimLinear(float softness, float restitution, float damping)

Sets parameters relevant for hitting linear limit

softness
restitution
damping
proto external void SetLimAngular(float softness, float restitution, float damping)

Sets parameters relevant for hitting angular limit

softness
restitution
damping
proto external void SetOrthoLinear(float softness, float restitution, float damping)

Sets parameters relevant for case (against constraint axis)

softness
restitution
damping
proto external void SetOrthoAngular(float softness, float restitution, float damping)

Sets parameters relevant for case (against constraint axis)

softness
restitution
damping
proto external void SetLinearMotor(float velocity, float force)

Allows motor to move slider at specific linear velocity

velocity
Target linear velocity motor tries to maintain
force
Maximum linear force motor can overcome. 0 to turn motor off.
proto external void SetAngularMotor(float velocity, float force)

Allows motor to move slider at specific angular velocity

velocity
Target angular velocity motor tries to maintain
force
Maximum angular force motor can overcome. 0 to turn motor off.