struct in UnityEngine.LowLevelPhysics2D
/
Implemented in:UnityEngine.Physics2DModule
A PhysicsChain definition used to specify the chain of vertices that will produce multiple ChainSegmentGeometry shape types. Additionally, non-geometric properties can be specified here.
| Property | Description |
|---|---|
| defaultDefinition | Get a default PhysicsChain definition. |
| Property | Description |
|---|---|
| contactFilter | The contact filter used to control which contacts this shape can participate in. |
| isLoop | Indicates a closed chain formed by connecting the first and last vertices specified. |
| surfaceMaterial | The surface material for the shape comprising of many properties such as friciton, bounciness, rolling resistance etc. |
| triggerEvents | Controls whether this chain produces trigger events which can be retrieved after the simulation has completed. This applies to triggers and non-triggers alike. |
| Constructor | Description |
|---|---|
| PhysicsChainDefinition | Create a default PhysicsChain definition. |