Class StaticPlaneColliderShape
public class StaticPlaneColliderShape : ColliderShape, IDisposable
- Inheritance
-
StaticPlaneColliderShape
- Implements
- Inherited Members
- Extension Methods
Constructors
StaticPlaneColliderShape(Vector3, float)
Initializes a new instance of the StaticPlaneColliderShape class. A static plane that is solid to infinity on one side. Several of these can be used to confine a convex space in a manner that completely prevents tunneling to the outside. The plane itself is specified with a normal and distance as is standard in mathematics.
public StaticPlaneColliderShape(Vector3 normalParam, float offsetParam)
Parameters
Fields
Normal
public readonly Vector3 Normal
Field Value
Offset
public readonly float Offset
Field Value
Methods
CreateDebugPrimitive(GraphicsDevice)
public override MeshDraw CreateDebugPrimitive(GraphicsDevice device)
Parameters
device
GraphicsDevice