Skip to main content

Bullet

The Bullet plugin implements the ScenePhysics interface to provide 3D physics simulation using the Bullet physics engine. It enables physics-based behavior for scene objects, handling bodies, joints, collisions, and forces within a dedicated Bullet world context.

info

The plugins/physics/bullet/extern/lib directory contains prebuilt Bullet libraries.

info

This plugin is integrated into Tellusim Explorer.

#include <physics/bullet/include/TellusimBullet.h>

Example

Bullet physics;

// Create Bullet physics
if(!physics.create(scene)) return false;

// Perform a single-step simulation update
if(!physics.update()) return false;

// Synchronize Bullet physics with the scene
if(!physics.update(scene)) return false;