C# Класс UnityEngine.WheelJoint2D

The wheel joint allows the simulation of wheels by providing a constraining suspension motion with an optional motor.

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

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

Метод Описание
GetMotorTorque ( float timeStep ) : float

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

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

Метод Описание
INTERNAL_CALL_GetMotorTorque ( WheelJoint2D self, float timeStep ) : float
INTERNAL_get_motor ( JointMotor2D &value ) : void
INTERNAL_get_suspension ( JointSuspension2D &value ) : void
INTERNAL_set_motor ( JointMotor2D &value ) : void
INTERNAL_set_suspension ( JointSuspension2D &value ) : void

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

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

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