C# 클래스 UnityEngine.WheelJoint2D

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

상속: AnchoredJoint2D
파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

공개 메소드들

메소드 설명
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