Table of Contents

Namespace Stride.CommunityToolkit.Bullet

Classes

Bullet2DPhysicsOptions

Option set for creating a Bullet-physics enabled 2D-style primitive entity.

Bullet3DPhysicsOptions

Option set for creating a Bullet-physics enabled 3D primitive entity.

BulletPhysicsSetup

Bullet as the physics engine of a SceneSetup: CreatePrimitive gives its entities a RigidbodyComponent with the collider fitted to the shape, and the grounds a StaticColliderComponent. Chosen with UseBullet<T>(T).

CameraComponentExtensions

Provides a set of static methods for working with CameraComponent instances.

EntityExtensions

Extension methods on Entity that add Bullet 2D and 3D physics with the collider that matches a primitive shape, plus the collider derivation itself, ColliderFor(Primitive3D) and ColliderFor(Primitive2D, float), for callers who build their own component.

GameExtensions

Extension methods on Game for a scene with Bullet physics. The scene itself is set up through UseBullet<T>(T) on a SceneSetup; the core's CreatePrimitive, Add3DGround and Add2DGround then attach Bullet bodies and colliders. What is here exists only in Bullet.

HeightmapExtensions

Extension helpers for working with Heightmap data: sampling heights and normals, ray picking, exporting raw height values, generating preview textures and building renderable / collision meshes.

SceneSetupExtensions

Chooses Bullet as the physics engine of a scene setup.

SimulationExtensions

Provides raycasting extension methods for the Bullet Simulation.

Structs

VertexTypePosTexNormColor

Custom vertex type including position, normal, tangent, UV and color supporting normal mapping.