C# Class UnityEngine.HingeJoint2D

Joint that allows a Rigidbody2D object to rotate around a point in space or a point on another object.

Inheritance: AnchoredJoint2D
ファイルを表示 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
GetMotorTorque ( float timeStep ) : float

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

Private Methods

Method Description
INTERNAL_CALL_GetMotorTorque ( HingeJoint2D self, float timeStep ) : float
INTERNAL_get_limits ( JointAngleLimits2D &value ) : void
INTERNAL_get_motor ( JointMotor2D &value ) : void
INTERNAL_set_limits ( JointAngleLimits2D &value ) : void
INTERNAL_set_motor ( JointMotor2D &value ) : void

Method Details

GetMotorTorque() public method

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

public GetMotorTorque ( float timeStep ) : float
timeStep float The time to calculate the motor torque for.
return float