Namespace Stride.CommunityToolkit.Bepu
Classes
- Bepu2DPhysicsOptions
Provides options for creating a 2D-style primitive entity with Bepu physics.
- Bepu3DPhysicsOptions
Provides options for creating a 3D primitive entity with Bepu physics.
- BepuEntityInstancing
An EntityInstancing for Bepu physics bodies that stops working entirely once the bodies fall asleep.
- Body2DComponent
A dynamic body confined to the XY plane.
- CameraComponentExtensions
Provides extension methods for CameraComponent to facilitate raycasting functionality.
- CollidableGizmoScript
Toggles visualization gizmos for all CollidableComponent instances in the current scene when a specified key is pressed.
- DebugRenderComponentScript
Script that ensures a DebugRenderComponent is added to the owning Entity once the scene is ready (when visibility groups are present).
- EntityExtensions
Provides extension methods for the Entity class to simplify adding Bepu 2D and 3D physics components. These methods automatically configure appropriate collider shapes based on primitive types and allow customization through options.
- GameExtensions
Provides extension methods for Game and IGame to simplify common scene setup and primitive creation tasks with Bepu physics.
- GrabberScript
Pick up any dynamic body with the mouse, carry it on the end of the camera ray, and let go - with whatever velocity it had, so a flick throws it. Put it on the camera entity.
- SimulationExtensions
Provides extension methods for BepuSimulation that cast a RaySegment, so a segment produced by
CameraComponentExtensions.ScreenToWorldRaySegmentcan be handed to Bepu directly, with no separate direction or maximum distance to work out.