Table of Contents

Class StaticComponent

Namespace
Stride.BepuPhysics
Assembly
Stride.BepuPhysics.dll
[ComponentCategory("Physics - Bepu")]
public class StaticComponent : CollidableComponent, IIdentifiable
Inheritance
StaticComponent
Implements
Inherited Members

Properties

ContinuousDetection

public ContinuousDetection ContinuousDetection { get; set; }

Property Value

ContinuousDetection

MaterialProperties

protected override ref MaterialProperties MaterialProperties { get; }

Property Value

MaterialProperties

Orientation

public Quaternion Orientation { get; set; }

Property Value

Quaternion

Pose

protected override RigidPose? Pose { get; }

Property Value

RigidPose?

Position

public Vector3 Position { get; set; }

Property Value

Vector3

Methods

AttachInner(RigidPose, BodyInertia, TypedIndex)

Called every time this is added to a simulation

protected override void AttachInner(RigidPose pose, BodyInertia shapeInertia, TypedIndex shapeIndex)

Parameters

pose RigidPose
shapeInertia BodyInertia
shapeIndex TypedIndex

Remarks

May occur when certain larger changes are made to the object, Simulation is the one this object is being added to

DetachInner()

Called every time this is removed from the simulation

protected override void DetachInner()

Remarks

May occur right before AttachInner(RigidPose, BodyInertia, TypedIndex) when certain larger changes are made to the object, Simulation is the one this object was on prior to detaching

GetHandleValue()

protected override int GetHandleValue()

Returns

int

IsContactHandlerRegistered()

protected override bool IsContactHandlerRegistered()

Returns

bool

RegisterContactHandler()

protected override void RegisterContactHandler()

UnregisterContactHandler()

protected override void UnregisterContactHandler()