PhysicsHingeJoint(PhysicsJoint)
Create a PhysicsHingeJoint from the specified base joint. The provided joint must be a joint type of PhysicsJoint.JointType.HingeJoint.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Constructor
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public PhysicsHingeJoint(PhysicsJoint physicsJoint)
Parameters
The base joint to cast.