Method b3ClipVector
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3ClipVector(Vector3, b3CollisionPlane*, int)
Clips the velocity against the given collision planes. Planes with zero push or clipVelocity set to false are skipped.
public static extern Vector3 b3ClipVector(Vector3 vector, b3CollisionPlane* planes, int count)Parameters
vectorVector3-
See the Box3D documentation.
planesb3CollisionPlane*-
See the Box3D documentation.
countint-
See the Box3D documentation.
Returns
- Vector3
-
See the Box3D documentation.