Skip to content

Carts: the view stays where the player looked while they climb down from a seat - #340

Closed
Kharote wants to merge 1 commit into
mainfrom
fix/cart-climb-off-view
Closed

Kharote wants to merge 1 commit into
mainfrom
fix/cart-climb-off-view

Conversation

@Kharote

@Kharote Kharote commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

What this changes

Getting off a wagon, the camera looked straight up at the sky for the whole climb-down and the mouse did nothing, until the clip ended. While a player sits on a cart's seat their view is KCDS's free look (the body faces the seat's way, the head and view turn). Climbing off, the seat no longer held them, so the free look ended and the game's own view came back for the clip; on the driver's seat that view points straight up.

  • New placed::local_climbing_off(): the local player plays the way down from their seat.
  • The seat's free look is kept through the climb-down too, so the view stays where the player looked and the mouse turns it; the game's view comes back once they stand.

How it was tested

Kit, one game: a wagon (seatPlayer on the bench, then the driver's seat), the use key to get off, a screenshot every second. Before: from the driver's seat every frame of the climb-down showed the sky. After: the view stays level ahead through the clip, then the player stands beside the wagon; the bench was right before and still is.

Checklist

  • I read CONTRIBUTING.md and agree that my contribution is licensed as it says.
  • The change is my own work: no code, assets or dumps that are not mine or that come from the game.
  • python Dev/tools/format_source.py --check passes.
  • Tests cover the change, and the checks of this pull request pass.
  • Public behaviour that changed is documented (KCD-Synced/KCDS-DOCS) or needs no docs.

@Kharote Kharote mentioned this pull request Nov 24, 2026
5 tasks done
@Kharote

Kharote commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator Author

Shipped in 1.2.1 (#349, release v1.2.1).

@Kharote Kharote closed this Nov 24, 2026
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