기술 자료

Unity Engine

Unity Engine

PhysicsWheelJoint

Create a joint from a physics handle. NOTE: You must ensure that the physics handle represents the correct object type otherwise hard to detect bugs can occur.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Constructor
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule

PhysicsWheelJoint(PhysicsHandle)

Create a joint from a physics handle.
NOTE: You must ensure that the physics handle represents the correct object type otherwise hard to detect bugs can occur.
public PhysicsWheelJoint(PhysicsHandle physicsHandle)

Parameters

physicsHandle

The physics handle to use.

PhysicsWheelJoint(PhysicsJoint)

Create a PhysicsWheelJoint from the specified base joint. The provided joint must be a joint type of PhysicsJoint.JointType.WheelJoint.
public PhysicsWheelJoint(PhysicsJoint physicsJoint)

Parameters

physicsJoint

The base joint to cast.