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