Create(PhysicsWorld, PhysicsHingeJointDefinition)
Create a PhysicsHingeJoint in the specified world.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public static PhysicsHingeJoint Create(PhysicsWorld world, PhysicsHingeJointDefinition definition)
Parameters
The world to create the joint in.
The joint definition to use.
Returns
Type | Description |
|---|---|
| PhysicsHingeJoint | The created joint. |