Contents

position

A position representing the estimated point of contact.

Declaration

let position: SIMD3<Float>

Discussion

The point is an average calculated from the intersecting shapes. It’s specified in the coordinate space of the physics simulation, which means it’s relative to nearestSimulationEntity(for:). If the physics origin is nil, the point is given in scene space.

See Also

Characterizing the collision