PhysicsIgnoreJointDefinition
A joint definition used to specify properties when creating a PhysicsIgnoreJoint.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Struct
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
- Implements: IEquatable<PhysicsIgnoreJointDefinition>
public struct PhysicsIgnoreJointDefinition : IEquatable<PhysicsIgnoreJointDefinition>
Constructors
Constructor | Description |
|---|---|
| PhysicsIgnoreJointDefinition() | Create a default PhysicsIgnoreJoint definition. |
Properties
Property | Description |
|---|---|
| bodyA | The first body the joint constrains. |
| bodyB | The second body the joint constrains. |
| worldDrawing | Controls whether this joint is automatically drawn when the world is drawn. |
Static Properties
Property | Description |
|---|---|
| defaultDefinition | Create a default PhysicsIgnoreJoint definition. |