Class Bepu2DPhysicsOptions
- Namespace
- Stride.CommunityToolkit.Bepu
- Assembly
- Stride.CommunityToolkit.Bepu.dll
Option set for creating a Bepu-physics enabled 2D-style primitive entity.
public class Bepu2DPhysicsOptions : Primitive2DEntityOptions
- Inheritance
-
Bepu2DPhysicsOptions
- Inherited Members
Remarks
Extends Primitive2DEntityOptions with a Bepu CollidableComponent. The default is a dynamic Body2DComponent having an empty CompoundCollider. Although termed "2D", simulation occurs in 3D space with constraints (or depth minimization) limiting motion.
Properties
Component
Gets or sets the Bepu collidable component to attach. Defaults to a new Body2DComponent with an empty CompoundCollider.
public CollidableComponent Component { get; set; }
Property Value
Remarks
Substitute with a Static2DComponent (if available) or preconfigure collider data before creation to tailor behavior.