Skip to main content

Jolt

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

info

The plugins/physics/jolt/extern/lib directory contains prebuilt Jolt libraries.

info

This plugin is integrated into Tellusim Explorer.

#include <physics/jolt/include/TellusimJolt.h>

Example

Jolt physics;

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

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

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