Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsEvents.BodyUpdateEvent

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.
Read time 1 minuteLast updated 13 days ago

Definition

public readonly struct PhysicsEvents.BodyUpdateEvent

Properties

Property

Description

bodyThe body this event relates to.
fellAsleepWhether the body fell asleep or not.
transformThe current transform of the body.