Skip to content
Back to skills

Jolt Physics

ASecurity

Use Jolt Physics, the MIT-licensed multi-core 3D rigid-body engine, in Godot (built in since 4.4, default for new 3D projects since 4.6) or as a standalone C++ library: switch a Godot project to Jolt, explain behaviour differences from GodotPhysics3D (joints, margins, kinematic contacts, ray face_index, soft bodies), migrate from the godot-jolt extension, and set up PhysicsSystem, layers, bodies, CharacterVirtual, vehicles, ragdolls and determinism in C++. Use when the user mentions Jolt, Jol...

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 22, 2026
ai-agentsjavascriptpythonrustgojavac++c#shellangularnode

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 22, 2026

npx -y skills add jasonmello/pixelstrata --skill jolt-physics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Jolt Physics?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Jolt Physics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jasonmello-jolt-physics/badge)](https://www.skillsdirectory.com/skills/jasonmello-jolt-physics)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: jolt-physics
description: >
  Use Jolt Physics, the MIT-licensed multi-core 3D rigid-body engine, in Godot (built in since
  4.4, default for new 3D projects since 4.6) or as a standalone C++ library: switch a Godot
  project to Jolt, explain behaviour differences from GodotPhysics3D (joints, margins, kinematic
  contacts, ray face_index, soft bodies), migrate from the godot-jolt extension, and set up
  PhysicsSystem, layers, bodies, CharacterVirtual, vehicles, ragdolls and determinism in C++.
  Use when the user mentions Jolt, JoltPhysics, physics/3d/physics_engine, jolt_physics_3d
  settings, godot-jolt, JPH_ defines, BodyInterface, or physics that changed after switching engine.
---

# Jolt Physics

Jolt is a multi-core rigid-body physics and collision library by Jorrit Rouwe (MIT,
[jrouwe/JoltPhysics](https://github.com/jrouwe/JoltPhysics)). It ships in Horizon Forbidden West
and Death Stranding 2. Latest release at writing: **v5.6.0**. It covers primitive, convex, mesh and
heightfield shapes, many constraint types with motors, sensors, `Character`/`CharacterVirtual`,
wheeled/tracked/motorcycle vehicles, ragdolls, soft bodies, buoyancy, optional determinism and
double precision.

## When to use

- A Godot 3D project should use Jolt, already does, or behaves differently since switching.
- Migrating from the `godot-jolt` GDExtension to Godot's built-in module.
- A C++ engine or tool needs a physics library (read `references/standalone-cpp.md`).
- Choosing a binding for another stack (C#, JS/WASM with three.js, Rust, Zig, Java, Python).

**Not this skill:** generic Godot bodies, layers, Area signals and raycasts → `godot-physics`;
feel, jitter, tunneling and timestep tuning → `physics-tuning`; Unity/Unreal native physics →
their engine skills.

## Workflow — Godot

1. **Check the version and the active engine.** In `project.godot`, `[physics]
   3d/physics_engine="Jolt Physics"` means Jolt. A missing line means GodotPhysics3D on projects
   created before 4.6. Jolt is built in from **4.4**. In **4.6+** new 3D projects default to it,
   and existing projects keep their setting.
2. **Switch:** Project Settings → Physics → 3D → Physics Engine = *Jolt Physics*, then Save &
   Restart. The 2D physics engine is unaffected.
3. **Tune under `physics/jolt_physics_3d/*`** (the settings listed in Pitfalls below).
4. **Re-test joints, kinematic bodies and triggers.** They are the parts whose behaviour differs.
5. **From `godot-jolt` (GDExtension):** it is in maintenance mode (Godot 4.3–4.6). Remove the
   addon, switch the engine setting, rename settings from `physics/jolt_3d/*` to
   `physics/jolt_physics_3d/*` (several names changed; see the Godot docs page linked below), and
   replace `JoltHingeJoint3D` and the other substitute joints with the stock joints. The built-in
   module has no substitute joints.

## Patterns

**Player controller.** Keep `CharacterBody3D` + `move_and_slide()` in Godot. In C++ use
`CharacterVirtual` for the player (query-based, handles stairs, ground sticking and moving
platforms via `ExtendedUpdate`) and `Character` (a rigid body) only for simple AI.

**Units.** Meters, kilograms, seconds, radians, Y-up. Dynamic objects about 0.1–10 m and under
~500 m/s; static geometry up to ~2 km per piece. Float precision is good to ~5 km from the origin.
Beyond that use double precision (C++) or origin shifting.

**Step.** Fixed 60 Hz with 1 collision step is stable. Longer steps need more collision steps
(round up the ratio to 1/60 s).

**Large worlds of many bodies.** Batch-add bodies (`AddBodiesPrepare`/`AddBodiesFinalize`), call
`OptimizeBroadPhase()` once after loading and never per frame, and keep broadphase layers few
(static, dynamic, maybe debris). Object layers are cheap.

## Pitfalls (symptom → cause → remedy)

- **A joint ignores bias/softness/relaxation/damping** → Jolt doesn't support those joint
  properties (Pin, Hinge, Slider angular/limit softness, ConeTwist, 6DOF limit
  softness/restitution/damping/erp) and warns when changed → design with limits and motors instead.
- **A single-body joint pulls the wrong way** → Jolt treats the body as `node_b` and the world as
  `node_a`, the reverse of GodotPhysics → set `jolt_physics_3d/joints/world_node`.
- **Shapes look slightly rounded or sink a little** → Jolt's convex radius shrinks the shape and
  adds a shell → adjust `collisions/collision_margin_fraction` or the shape's `margin`.
- **Penetrations resolve slowly, no overshoot** → position-only Baumgarte stabilization → raise
  `simulation/baumgarte_stabilization_factor` carefully.
- **A frozen kinematic RigidBody3D reports no contacts with static/kinematic bodies** → off by
  default → enable `simulation/generate_all_kinematic_contacts` (costs performance).
- **Raycast `face_index` is always -1** → disabled by default → enable it in the Jolt settings
  (about 25% more memory on ConcavePolygonShape3D).
- **Area3D fires `body_entered` for SoftBody3D** → Jolt reports soft bodies, GodotPhysics didn't →
  filter by mask or in the handler.
- **WorldBoundaryShape3D floor ends** → it is finite in Jolt → raise `world_boundary_shape_size`.
- **`get_contact_impulse()` values look wrong** → they are estimates, exact only for an isolated
  pair → don't drive gameplay off exact impulses.
- **Ghost bumps where two separate bodies meet** → edge removal only works within one body → merge
  floor pieces into one mesh/heightmap shape.
- **Out-of-memory abort on big scenes** → fixed temporary buffer → raise
  `limits/temporary_memory_buffer_size`.
- **"Run On Separate Thread" acts oddly** → experimental with Jolt → leave it off.

## Bindings (listed in Jolt's README)

C# JoltPhysicsSharp · JavaScript/WASM JoltPhysics.js (works with three.js) · C joltc · Rust
jolt-rust · Zig zphysics · Java jolt-jni · Python Culverin · Unreal plugins (UnrealJolt) · Source
(VPhysics-Jolt).

## References

- `references/standalone-cpp.md`: CMake integration, init/step/shutdown skeleton, layers,
  threading rules, determinism, double precision, soft-body limits. Read for C++ work.
- Godot docs, *Using Jolt Physics*:
  https://docs.godotengine.org/en/latest/tutorials/physics/using_jolt_physics.html
- Jolt docs: https://jrouwe.github.io/JoltPhysics/
- Related: `godot-physics`, `physics-tuning`, `performance-optimization`, `terrain3d`
  (heightmap collision).

Files in this skill

  • SKILL.md6.3 KB
  • agents/openai.yaml196 B
  • references/standalone-cpp.md6.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.