One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

PhysicsSimulationEvents.DidSimulate

struct · iOS 18.0+ · SDK 27.1

struct DidSimulate

The event raised after the simulation advances to the current frame.

Members (3)

get · iOS 18.0+ · Deprecated in iOS 26.0

simulationEntity

TypeScript
get simulationEntity(): Entity
Swift declaration
let simulationEntity: Entity

The root simulation entity associated with the simulation that raised the event.

get · iOS 26.0+

simulationRootEntity

TypeScript
get simulationRootEntity(): (Entity) | null
Swift declaration
let simulationRootEntity: Entity?

The root simulation entity associated with the simulation that raised the event. This entity is `nil` if the physics simulation is the default global one that covers all entities in the hierarchy. Use ``PhysicsSimulationComponent`` to construct a custom physics simulation for a subtree of entities that you have access to. The event from this custom simulation reports a non-`nil` root simulation entity.

get · iOS 18.0+

deltaTime

TypeScript
get deltaTime(): number
Swift declaration
let deltaTime: TimeInterval

The time between last fixed update event and this one.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →