Class Bullet3DPhysicsOptions
- Namespace
- Stride.CommunityToolkit.Bullet
- Assembly
- Stride.CommunityToolkit.Bullet.dll
Option set for creating a Bullet-physics enabled 3D primitive entity.
public class Bullet3DPhysicsOptions : Primitive3DEntityOptions
- Inheritance
-
Bullet3DPhysicsOptions
- Inherited Members
Remarks
Inherits geometry / rendering related settings from Primitive3DEntityOptions and adds a configurable Bullet PhysicsComponent (default RigidbodyComponent) used to participate in the Bullet simulation. Override PhysicsComponent to supply a custom component (e.g. kinematic rigid body, character controller base, or a preconfigured collider shape).
Properties
PhysicsComponent
Gets or sets the Bullet physics component to attach. Defaults to a new RigidbodyComponent.
public PhysicsComponent? PhysicsComponent { get; set; }
Property Value
Remarks
Replace with an alternative PhysicsComponent (e.g. static or kinematic) to change simulation behavior before the entity is created/added to a scene.