StaticPlaneColliderShape Class
Namespace: Stride.Physics
Assembly: Stride.Physics.dll
Derived from StaticPlaneColliderShape:
public class StaticPlaneColliderShape : ColliderShape, IDisposable
|
Improve this Doc
View Source
Constructors
StaticPlaneColliderShape(Vector3, Single)
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
Type |
Name |
Description |
Vector3 |
normalParam |
|
System.Single |
offsetParam |
|
|
Improve this Doc
View Source
Fields
Normal
public readonly Vector3 Normal
Field Value
Offset
public readonly float Offset
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Methods
CreateDebugPrimitive(GraphicsDevice)
public override MeshDraw CreateDebugPrimitive(GraphicsDevice device)
Parameters
Returns
Overrides
Extension Methods