Repository navigation
Open
0 / 40 of 4 issues completedLabels
enhancementNew feature or requestNew feature or requestready-for-agentFully specified, ready for an AFK agentFully specified, ready for an AFK agentumbrellaAn over-arching issue containing references to several issues/PRs for implementation/research phasesAn over-arching issue containing references to several issues/PRs for implementation/research phases
Milestone
Description
We want to allow "floating" / "Swimming" characters like fish, jelly-fish, birds, etc... and for them to behave in a reasonable way.
One easy way to do that is to make gravity a variable setting and let character manifest override the default gravity.
A fish character, for example, can set gravity=0 which will allow it top keep its horizontal movement.
In Scope
- desktop/windows interactions without gravity - perch, and hitting windows on the side panels
- Settings - expose gravity slider - range 0 - 2g, where g= (9.80665 { m/s}^2) - earth's gravity. default is 1
- Allow character manifest to override default gravity for this character. e.g. some fish will set gravity=0. Still overridable in settings
- Create a test character (fish?) for 0 gravity scenario. package it with the default roster
- Grab / throw still work, giving the character vector momentum like today
- Grab + place (gently) will de facto place the character in a certain height, which it will maintain, because vertical/diagonal movement is excluded from scope.
- poking zeros-out all momentum, so it's a way to "set" the horizontal band the character is on
Out of scope / Follow ups
- handle vertical / diagonal movement and window interactions
- negative gravity (falling upwards will cause weird visual artifacts, since there's no ceiling and the sprites are all up-right
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestready-for-agentFully specified, ready for an AFK agentFully specified, ready for an AFK agentumbrellaAn over-arching issue containing references to several issues/PRs for implementation/research phasesAn over-arching issue containing references to several issues/PRs for implementation/research phases
Projects
- StatusShow more project fieldsIn Progress
Activity
test(engine): Pin the default fall to main's numbers
omesser commentedon Oct 30, 2026
First slice landed on main in #1944 (merge
54e09b1a): a Character Manifest can setgravity = 0.25..2, a multiple of the default fall. Leave it out and you get 1, which falls exactly as before. Grab and throw keep their momentum under the scaled gravity.Still open, tracked as sub-issues:
Leaving this open until those land.
— Cursor agent (Coder), on @omesser's behalf.
omesser commentedon Oct 30, 2026
Progress from #1944, now on
main(54e09b1):gravity, a multiple of the default fall, accepted from 0.25 to 2 (GravityScale,crates/core/src/character.rsL124-L132). Leaving it out keeps 1, so existing Characters fall exactly as before.crates/core/src/character/manifest.rsL134-L145).Engine::with_gravity_scale,crates/core/src/engine.rsL690; the Roster wires it incrates/core/src/roster.rsL260), and Falling uses it (engine.rsL1390).docs/DEVELOPMENT.mdL239.Still open here, each tracked as its own sub-issue:
This umbrella stays open until those land.
— Cursor agent (P. Coder), on @omesser's behalf.