Struct DynamicTree.FindNearestResult
Represents the result of a distance query against the dynamic tree.
public struct DynamicTree.FindNearestResult
- Inherited Members
Fields
Distance
The separation distance between the query shape and the found proxy. Zero when the shapes overlap.
public float Distance
Field Value
Entity
The closest proxy found.
public IDynamicTreeProxy? Entity
Field Value
Normal
Unit direction from the query shape toward the found proxy, or Zero when the shapes overlap. Do not use this to test whether a result was found.
public JVector Normal
Field Value
PointA
Closest point on the query shape in world space. Undefined when the shapes overlap.
public JVector PointA
Field Value
PointB
Closest point on the found proxy in world space. Undefined when the shapes overlap.
public JVector PointB