Table of Contents

Constructor CollisionPlane

Namespace
Box3D
Assembly
Box3D.NET.dll

CollisionPlane(Vector3, float, float, bool)

Initializes a new instance of the Box3D.CollisionPlane struct.

public CollisionPlane(Vector3 normal, float offset, float pushLimit = 3.4028235E+38, bool clipsVelocity = true)

Parameters

normal Vector3

The outward plane normal.

offset float

The signed distance from the capsule centre to the plane.

pushLimit float

The furthest the solver may push the capsule out of this plane. Use System.Single.MaxValue for a solid surface.

clipsVelocity bool

Whether velocity is projected onto this plane.