C# Class UnityEngine.Joint2D

Parent class for joints to connect Rigidbody2D objects.

Inheritance: Behaviour
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Private Properties

Свойство Type Description
INTERNAL_CALL_GetReactionTorque float
Joint2D_CUSTOM_INTERNAL_GetReactionForce void

Méthodes publiques

Méthode 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

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

Method Details

GetReactionForce() public méthode

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.
Résultat Vector2

GetReactionTorque() public méthode

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.
Résultat float