struct in UnityEngine.LowLevelPhysics2D
/
Implemented in:UnityEngine.Physics2DModule
An event produced by a PhysicsBody that indicates the simulation changed the body in one of the following ways: - The body transform was changed. - The body fell asleep. See PhysicsWorld.bodyUpdateEvents.
Property | Description |
---|---|
body | The body this event relates to. |
fellAsleep | Whether the body fell asleep or not. |
transform | The current transform of the body. |