Struct b3Sweep
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
The motion of a body over a time step, for time of impact. Mirror of b3Sweep.
public struct b3SweepInherited Members
Remarks
Shapes are defined relative to the body origin, which need not coincide with the centre of mass, so the centre of mass is interpolated separately.
Fields
- c1
-
The world centre of mass at the start of the sweep.
- c2
-
The world centre of mass at the end of the sweep.
- localCenter
-
The local centre of mass.
- q1
-
The world rotation at the start of the sweep.
- q2
-
The world rotation at the end of the sweep.