Description
The `PhysicsContact` struct in the Sandbox namespace represents a contact point in a physics simulation. It provides detailed information about the contact, including the position, speed, and impulse of the contact point. This struct is immutable and is marked with the `IsReadOnly` attribute, ensuring that its fields cannot be modified after creation. It is also exposed for use in the s&box environment.
Members
Instance Fields
Member Name | Summary |
Point | The position of the contact point in world coordinates. |
Speed | The speed of the contact point at the time of collision. |
Normal | The normal vector at the contact point, indicating the direction of the surface. |
NormalSpeed | The speed along the normal vector at the contact point. |
Impulse | The impulse applied at the contact point during the collision. |