Struct CompoundCollider.Child
A child collider, within the same blob as the compound collider. Warning: This references the collider via a relative offset, so must always be passed by reference.
Inherited Members
Namespace: Unity.Physics
Assembly: solution.dll
Syntax
public struct CompoundCollider.Child
Fields
| Name | Description |
|---|---|
| CompoundFromChild | The child transform relative to the compound collider. |
| Entity | The Entity that this Child is associated with. Default value is Null. If creating a CompoundCollider manually using Create(NativeArray<ColliderBlobInstance>), you can set this field to any value you want and interpret it the way you want to. |
Properties
| Name | Description |
|---|---|
| Collider | Gets the child collider pointer. |