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
RigidPosePose of the static collidable.
shape
TypedIndexShape of the static.
StaticDescription(RigidPose, TypedIndex, ContinuousDetection)
Builds a new static description.
public StaticDescription(RigidPose pose, TypedIndex shape, ContinuousDetection continuity)
Parameters
pose
RigidPosePose of the static collidable.
shape
TypedIndexShape of the static.
continuity
ContinuousDetectionContinuous 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
Vector3Position of the static.
orientation
QuaternionOrientation of the static.
shape
TypedIndexShape 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
Vector3Position of the static.
orientation
QuaternionOrientation of the static.
shape
TypedIndexShape of the static.
continuity
ContinuousDetectionContinuous collision detection settings for the static.
Fields
Continuity
Continuous collision detection settings for the static.
public ContinuousDetection Continuity
Field Value
Pose
Position and orientation of the static.
public RigidPose Pose
Field Value
Shape
Shape of the static.
public TypedIndex Shape