Table of Contents

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

vector Vector3

See the Box3D documentation.

planes b3CollisionPlane*

See the Box3D documentation.

count int

See the Box3D documentation.

Returns

Vector3

See the Box3D documentation.