ludic/packages/ludic.physics/index.ludic
Orkuncakilkaya 510360b002 feat(vehicles): 16.7 - a boat is a buoyant hull in the game's physics (VehicleHull), rowed along its bow and turned by the oars; the scripted bob, the wind's drift and the shore refusal are gone
The water floats the hull, the wind pushes every boat as a force, the lake bed stops it at the shore;
the swell takes the outward share of a stroke. ludic.physics: phys_hull_add (a buoyant box),
phys_row, phys_bow_speed, and a test that floats one a quarter under, rows, turns and grounds it.
The vehicles tests row a real Jolt hull on the fake shore; the horse moved to horse.ludic.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 01:33:19 +03:00

14 lines
447 B
Text

# ludic.physics - a physics world over Jolt: shapes as handles it keeps, bodies by id, queries,
# water that floats a body, and the contacts that matter as facts. Fixed 1/60 steps.
module ludic_physics uses ludic_base
numbers float
import "ludic.base"
import "native.ludic"
import "state.ludic"
import "shapes.ludic"
import "bodies.ludic"
import "queries.ludic"
import "water.ludic"
import "walker.ludic"
import "hull.ludic"
import "system.ludic"