Contents

normal

The normal of the hit.

Declaration

var normal: SIMD3<Float> { get }

Discussion

The frame of reference for this point depends on the reference entity used in the call to either the raycast(origin:direction:length:query:mask:relativeTo:) method or the convexCast(convexShape:fromPosition:fromOrientation:toPosition:toOrientation:query:mask:relativeTo:) method that generated the hit.

See Also

Characterizing the collision cast hit