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