ludic/packages/ludic.physics/tests
Orkuncakilkaya f048ffb6ac ludic.physics: queries fill a record the caller keeps, and allocate nothing
phys_pose, phys_ray, phys_push and phys_walker_pose each made a new record per call, some several times a frame, and Ludic never gives one back. They now fill the caller's PhysPose / PhysHit / PhysPush / PhysWalk and return whether they found anything. phys_overlap returns a count; phys_overlap_id(i) reads each id back. The package's own uses (phys_resolve, phys_row, phys_walker_move) read the values buffer directly. Tests take small allocating helpers. physics 20, character 15, vehicles 8.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 23:18:26 +03:00
..
hull_shape_test.ludic ludic.physics: queries fill a record the caller keeps, and allocate nothing 2026-09-27 23:18:26 +03:00
motion_test.ludic ludic.physics: queries fill a record the caller keeps, and allocate nothing 2026-09-27 23:18:26 +03:00
physics_test.ludic ludic.physics: queries fill a record the caller keeps, and allocate nothing 2026-09-27 23:18:26 +03:00
walker_test.ludic ludic.physics: queries fill a record the caller keeps, and allocate nothing 2026-09-27 23:18:26 +03:00