Struct PhysicsConstrainedBodyPair
A pair of bodies with some constraint between them (either a joint or a motor)
Inherited Members
Namespace: Unity.Physics
Assembly: solution.dll
Syntax
public struct PhysicsConstrainedBodyPair : IComponentData, IQueryTypeParameter
Constructors
Name | Description |
---|---|
PhysicsConstrainedBodyPair(Entity, Entity, bool) | Constructor. |
Fields
Name | Description |
---|---|
EnableCollision | Specifies whether the two bodies in the pair should generate contact events. |
Properties
Name | Description |
---|---|
EntityA | The first entity in the pair. |
EntityB | The second entity in the pair. |