C# Class UnityEngine.SliderJoint2D

Joint that restricts the motion of a Rigidbody2D object to a single line.

Inheritance: AnchoredJoint2D
Show file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
GetMotorForce ( float timeStep ) : float

Gets the motor force of the joint given the specified timestep.

Private Methods

Method Description
INTERNAL_CALL_GetMotorForce ( SliderJoint2D self, float timeStep ) : float
INTERNAL_get_limits ( JointTranslationLimits2D &value ) : void
INTERNAL_get_motor ( JointMotor2D &value ) : void
INTERNAL_set_limits ( JointTranslationLimits2D &value ) : void
INTERNAL_set_motor ( JointMotor2D &value ) : void

Method Details

GetMotorForce() public method

Gets the motor force of the joint given the specified timestep.

public GetMotorForce ( float timeStep ) : float
timeStep float The time to calculate the motor force for.
return float