Table of Contents

Class StaticPlaneColliderShape

Namespace
Stride.Physics
Assembly
Stride.Physics.dll
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

normalParam Vector3
offsetParam float

Fields

Normal

public readonly Vector3 Normal

Field Value

Vector3

Offset

public readonly float Offset

Field Value

float

Methods

CreateDebugPrimitive(GraphicsDevice)

public override MeshDraw CreateDebugPrimitive(GraphicsDevice device)

Parameters

device GraphicsDevice

Returns

MeshDraw