Method ToLocalVector
- Namespace
- Box3D
- Assembly
- Box3D.NET.dll
ToLocalVector(Vector3)
Converts a direction from world space into body-local space.
public Vector3 ToLocalVector(Vector3 worldVector)Parameters
worldVectorVector3-
The direction, in world space.
Returns
- Vector3
-
The direction, in body-local space.