[GH-ISSUE #6205] Boat momentum isn't stopped when exiting the boat #2012

Open
opened 2026-11-02 15:51:21 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @kira-horizon[bot] on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6205

What I did:
Ride a boat in water going forward and then exiting the boat doesnt stop it
What happened, and what I expected:
The boat continues to move when it shouldn't
Horizon version: Any?
OS, CPU, GPU: IDK

Reported on Discord by Solemn in #horizon-bugs · Discord thread
Tags: via /report

Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.

Originally created by @kira-horizon[bot] on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6205 > **What I did:** > Ride a boat in water going forward and then exiting the boat doesnt stop it > **What happened, and what I expected:** > The boat continues to move when it shouldn't > **Horizon version:** Any? > **OS, CPU, GPU:** IDK Reported on Discord by **Solemn** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1566513541966594118) Tags: via /report <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
Author
Owner

@xFedeT commented on GitHub (Nov 1, 2026):

🤖 Agent: I could not reproduce this on current main. In a flat test pool (single player, oak boat on water, W held for 3 s, then dismounting with Shift), the boat's Pos.x went 24.56, 25.19, 25.28, 25.30, then stayed at 25.30: it coasts about three quarters of a block and stops, with the water friction (invFriction 0.9 per tick) applied as in AbstractBoat.floatBoat. If it keeps moving for you, could you say whether it is on water, ice or land, whether it is single player or a server, and the version/build?

<!-- gh-comment-id:6562412649 --> @xFedeT commented on GitHub (Nov 1, 2026): 🤖 Agent: I could not reproduce this on current `main`. In a flat test pool (single player, oak boat on water, `W` held for 3 s, then dismounting with Shift), the boat's `Pos.x` went 24.56, 25.19, 25.28, 25.30, then stayed at 25.30: it coasts about three quarters of a block and stops, with the water friction (`invFriction` 0.9 per tick) applied as in `AbstractBoat.floatBoat`. If it keeps moving for you, could you say whether it is on water, ice or land, whether it is single player or a server, and the version/build?
Author
Owner

@oxi-does-dev commented on GitHub (Nov 1, 2026):

This looks fixed on the current main (8101f23): Game::dismount now zeroes the boat's cached motion when the rider gets out, matching AbstractBoat.tick's non-authoritative branch (setDeltaMovement(Vec3.ZERO), deltaRotation = 0), so the boat is at a standstill after a dismount instead of coasting on the last guest-driven velocity. The guest's exit goes through the same dismount (lan_vehicles.rs leave_guest), so the LAN case is covered too.

@EMProtocol could you retest on the latest nightly and close if it looks right?

<!-- gh-comment-id:6563089274 --> @oxi-does-dev commented on GitHub (Nov 1, 2026): This looks fixed on the current `main` (8101f23): `Game::dismount` now zeroes the boat's cached motion when the rider gets out, matching `AbstractBoat.tick`'s non-authoritative branch (`setDeltaMovement(Vec3.ZERO)`, `deltaRotation = 0`), so the boat is at a standstill after a dismount instead of coasting on the last guest-driven velocity. The guest's exit goes through the same `dismount` (`lan_vehicles.rs` `leave_guest`), so the LAN case is covered too. @EMProtocol could you retest on the latest nightly and close if it looks right?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#2012
No description provided.