Recursive AI

OnePhysics guide

All onephysics docs

Task-oriented pages with examples that are compiled and run by the test suite. For the exact members, read the XML documentation in your editor. The normative, bit-level descriptions for ports live in ../spec.

PageRead it to
Installadd the package, know the targets
Quick startstep a world, react to a collision, cast a ray, move a character
The three tierschoose between one-liners, definitions and the raw tier
Eventspick per-body handlers or polled events; know the order
Queries, layers and filtersdecide what collides and what a query sees
Rollback and lockstepsnapshot into a ring, restore, resimulate, hash
Determinismknow exactly what is guaranteed, and the coordinate rule
Units and sizesavoid half-extent and degree mistakes
Names and conventionshandles, joint one-liners and definitions, callbacks across restore
Soft bodiesmake a cloth, a jelly or a pressurised ball; know what they collide with and how they push rigid bodies
Input limitsknow what is refused
Coming from Unityfind the name of the thing you know