C# Class UnityEngine.Joint2D

Parent class for joints to connect Rigidbody2D objects.

Inheritance: Behaviour
显示文件 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Private Properties

Property Type Description
INTERNAL_CALL_GetReactionTorque float
Joint2D_CUSTOM_INTERNAL_GetReactionForce void

Public Methods

Method Description
GetReactionForce ( float timeStep ) : Vector2

Gets the reaction force of the joint given the specified timeStep.

GetReactionTorque ( float timeStep ) : float

Gets the reaction torque of the joint given the specified timeStep.

Private Methods

Method Description
INTERNAL_CALL_GetReactionTorque ( Joint2D self, float timeStep ) : float
Joint2D_CUSTOM_INTERNAL_GetReactionForce ( Joint2D joint, float timeStep, Vector2 &value ) : void

Method Details

GetReactionForce() public method

Gets the reaction force of the joint given the specified timeStep.

public GetReactionForce ( float timeStep ) : Vector2
timeStep float The time to calculate the reaction force for.
return Vector2

GetReactionTorque() public method

Gets the reaction torque of the joint given the specified timeStep.

public GetReactionTorque ( float timeStep ) : float
timeStep float The time to calculate the reaction torque for.
return float