float GetEdgeDistance (in Transform worldTransform, in Vector3 worldPosition)

Parameters

NameTypeDescription
in worldTransform Transform The world transform of the volume.
in worldPosition Vector3 The position in world space to measure from.

Returns

TypeDescription
float The distance, in world units, from the position to the volume edge.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.