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
normalVector3-
The outward plane normal.
offsetfloat-
The signed distance from the capsule centre to the plane.
pushLimitfloat-
The furthest the solver may push the capsule out of this plane. Use System.Single.MaxValue for a solid surface.
clipsVelocitybool-
Whether velocity is projected onto this plane.