Skip to content

⚡ Physics System Hardening (clean): gravity, jump arcs, state transitions#14

Merged
Ghostmonday merged 1 commit into
mainfrom
physics-hardening-clean-7819256509406680752
Apr 19, 2026
Merged

⚡ Physics System Hardening (clean): gravity, jump arcs, state transitions#14
Ghostmonday merged 1 commit into
mainfrom
physics-hardening-clean-7819256509406680752

Conversation

@Ghostmonday

Copy link
Copy Markdown
Owner

Clean physics logic implementation to repair integer overflows, fix glitchy kill-floor drops, buffer jumping inputs, correctly interpolate arc curves, and wipe the action buffers smoothly when the player hits the ground. Does not add dirty objects and compiled bin files.


PR created automatically by Jules for task 7819256509406680752 started by @Ghostmonday

…ions

- Reordered kill-floor and ground collision evaluations to fix fast-fall death glitches.
- Safeguarded positional accumulations using 64-bit integer limits.
- Implemented Verlet-style half-gravity interpolation for jumping frames to stabilize trajectories.
- Implemented 6-frame jump-input buffering state tracking.
- Appended `jumpBuffer` variable directly into rollback snapshot and validation hash protocols (`StateHash.cs`).
- Added state-clearing mechanics for landing actions to stop aerial sequences when the character connects with the floor.
- Fixed uint/int compilation warnings with explicit unchecks for Hex representations.

Co-authored-by: Ghostmonday <207882092+Ghostmonday@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@Ghostmonday Ghostmonday merged commit 82735f3 into main Apr 19, 2026
1 check failed
@Ghostmonday Ghostmonday deleted the physics-hardening-clean-7819256509406680752 branch April 21, 2026 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant