Table of Contents

Struct StaticDescription

Namespace
BepuPhysics
Assembly
BepuPhysics.dll

Describes the properties of a static object. When added to a simulation, static objects can collide but have no velocity and will not move in response to forces.

public struct StaticDescription
Inherited Members

Constructors

StaticDescription(RigidPose, TypedIndex)

Builds a new static description with Discrete continuity.

public StaticDescription(RigidPose pose, TypedIndex shape)

Parameters

pose RigidPose

Pose of the static collidable.

shape TypedIndex

Shape of the static.

StaticDescription(RigidPose, TypedIndex, ContinuousDetection)

Builds a new static description.

public StaticDescription(RigidPose pose, TypedIndex shape, ContinuousDetection continuity)

Parameters

pose RigidPose

Pose of the static collidable.

shape TypedIndex

Shape of the static.

continuity ContinuousDetection

Continuous collision detection settings for the static.

StaticDescription(Vector3, Quaternion, TypedIndex)

Builds a new static description with Discrete continuity.

public StaticDescription(Vector3 position, Quaternion orientation, TypedIndex shape)

Parameters

position Vector3

Position of the static.

orientation Quaternion

Orientation of the static.

shape TypedIndex

Shape of the static.

StaticDescription(Vector3, Quaternion, TypedIndex, ContinuousDetection)

Builds a new static description.

public StaticDescription(Vector3 position, Quaternion orientation, TypedIndex shape, ContinuousDetection continuity)

Parameters

position Vector3

Position of the static.

orientation Quaternion

Orientation of the static.

shape TypedIndex

Shape of the static.

continuity ContinuousDetection

Continuous collision detection settings for the static.

Fields

Continuity

Continuous collision detection settings for the static.

public ContinuousDetection Continuity

Field Value

ContinuousDetection

Pose

Position and orientation of the static.

public RigidPose Pose

Field Value

RigidPose

Shape

Shape of the static.

public TypedIndex Shape

Field Value

TypedIndex