Struct b3BodyMoveEvent
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
Reports a body moved by the simulation. Mirror of b3BodyMoveEvent.
public struct b3BodyMoveEventInherited Members
Remarks
Not reported for bodies the application moved itself. This is the efficient
way to push transforms into game objects: the data arrives as one contiguous
array containing only the bodies that actually moved, rather than requiring a
call to b3Body_GetTransform per body.
If sleeping is disabled every dynamic and kinematic body raises this event.
Fields
- bodyId
-
The body.
- fellAsleep
-
Whether the body fell asleep this step.
- transform
-
The new body transform.
- userData
-
The body's user data.