Contents

simulationSpacePositions

The new simulation positions of the body’s particles, in simulation space.

Declaration

var simulationSpacePositions: Span<SIMD3<Float>> { get }

Discussion

The lifetime of this span is tied to the owning event, and thus cannot escape it. This data is only available during the subscription callback in which the owning event is provided. If you store the event and attempt to access this data after the subscription callback, then you will get an empty span instead.

See Also

Accessing simulation space positions