Class Bepu3DPhysicsOptions
- Namespace
- Stride.CommunityToolkit.Bepu
- Assembly
- Stride.CommunityToolkit.Bepu.dll
Option set for creating a Bepu-physics enabled 3D primitive entity.
public class Bepu3DPhysicsOptions : Primitive3DEntityOptions
- Inheritance
-
Bepu3DPhysicsOptions
- Inherited Members
Remarks
Inherits geometry / rendering options from Primitive3DEntityOptions and adds a configurable Bepu CollidableComponent. The default is a dynamic BodyComponent with an empty CompoundCollider; shape(s) are typically populated later by helper extensions based on the chosen primitive type.
Properties
Component
Gets or sets the Bepu collidable component to attach. Defaults to a new dynamic BodyComponent containing an empty CompoundCollider.
public CollidableComponent Component { get; set; }
Property Value
Remarks
Replace with a StaticComponent for immovable geometry or preconfigure collider children before passing the options instance to a creation helper.
IncludeCollider
When true (default), a collider shape matching the primitive type is auto-created and added. When false, the CollidableComponent is attached without shapes; you can add shapes later.
public bool IncludeCollider { get; set; }