ドキュメント

Unity Engine

Unity Engine

PhysicsHingeJoint

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 分最終更新 1ヶ月前

Definition

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

PhysicsHingeJoint(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 PhysicsHingeJoint(PhysicsHandle physicsHandle)

Parameters

physicsHandle

The physics handle to use.

PhysicsHingeJoint(PhysicsJoint)

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

Parameters

physicsJoint

The base joint to cast.