C# Class UnityEngine.WheelJoint2D

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

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

Méthodes publiques

Méthode Description
GetMotorTorque ( float timeStep ) : float

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

Private Methods

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

Method Details

GetMotorTorque() public méthode

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