Struct PhysicsColliderKeyEntityPair
A buffer element which associates an original Entity with a child collider in a CompoundCollider through the child's ColliderKey.
This buffer is automatically added during baking to rigid body entities whose colliders are regrouped and baked into a compound collider. It contains one entry per child in the resultant compound collider, associating the original Entity which contained the collider before creation of the compound with the compound's child collider through the child's collider key.
.Implements
Inherited Members
Namespace: Unity.Physics
Assembly: solution.dll
Syntax
[InternalBufferCapacity(0)]
public struct PhysicsColliderKeyEntityPair : IBufferElementData
Fields
Name | Description |
---|---|
Entity | The entity. |
Key | The key. |