HughPH.Box2D
Organised dotnet bindings for Box2D 3.1.0
|
This describes the motion of a body/shape for TOI computation. Shapes are defined with respect to the body origin, which may not coincide with the center of mass. However, to support dynamics we must interpolate the center of mass position. More...
Public Member Functions | |
Transform | GetTransform (float time) |
Get the transform at a specific time. | |
Public Attributes | |
Vec2 | LocalCenter |
Local center of mass position. | |
Vec2 | C1 |
Starting center of mass world position. | |
Vec2 | C2 |
Ending center of mass world position. | |
Rotation | Q1 |
Starting world rotation. | |
Rotation | Q2 |
Ending world rotation. | |
This describes the motion of a body/shape for TOI computation. Shapes are defined with respect to the body origin, which may not coincide with the center of mass. However, to support dynamics we must interpolate the center of mass position.