C# Класс UnityEngine.Joint2D

Parent class for joints to connect Rigidbody2D objects.

Наследование: Behaviour
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
INTERNAL_CALL_GetReactionTorque float
Joint2D_CUSTOM_INTERNAL_GetReactionForce void

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
INTERNAL_CALL_GetReactionTorque ( Joint2D self, float timeStep ) : float
Joint2D_CUSTOM_INTERNAL_GetReactionForce ( Joint2D joint, float timeStep, Vector2 &value ) : void

Описание методов

GetReactionForce() публичный Метод

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.
Результат Vector2

GetReactionTorque() публичный Метод

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.
Результат float