[PR #262] [MERGED] Prevent climbable blocks from slowing spectator flight #2448

Closed
opened 2026-11-02 15:56:15 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/262
Author: @Online5277
Created: 10/15/2026
Status: ✅ Merged
Merged: 10/15/2026
Merged by: @ludovic111

Base: main ← Head: fix/spectator-movement


📝 Commits (1)

  • 4c7d773 Skip climbable movement limits for spectators

📊 Changes

1 file changed (+61 additions, -0 deletions)

View changed files

📝 crates/horizon-client/src/motion.rs (+61 -0)

📄 Description

Flying through a ladder, vine or scaffolding applied normal climbing limits to spectators, capping horizontal motion at 0.15 even though collision handling correctly used noclip. Return false from the shared climbable query for spectators, matching LivingEntity.onClimbable.

A resource-backed regression compares four actual controlled movement ticks through air, solid stone, ladders, vines and scaffolding. It failed before the fix at the ladder velocity clamp and now matches the full air trajectory for all spectator cases. A survival control still climbs the ladder.

Validation: the resident spectator regression with prepared 26.3 resources; warning-denied client all-target Clippy; formatting, whitespace and public-tree checks. The native spectator guard was checked in the existing pinned LivingEntity source. No game window, visual probe or preview rebuild was run.

This fixes the confirmed climbable slowdown from #221; ordinary solid-block flight already matched air in the regression. Other unreported movement cases have not been exhaustively audited.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/262 **Author:** [@Online5277](https://github.com/Online5277) **Created:** 10/15/2026 **Status:** ✅ Merged **Merged:** 10/15/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/spectator-movement` --- ### 📝 Commits (1) - [`4c7d773`](https://github.com/horizon-rust/horizon/commit/4c7d77352efcf36593b7bec6cf66802b33778aae) Skip climbable movement limits for spectators ### 📊 Changes **1 file changed** (+61 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/motion.rs` (+61 -0) </details> ### 📄 Description Flying through a ladder, vine or scaffolding applied normal climbing limits to spectators, capping horizontal motion at 0.15 even though collision handling correctly used noclip. Return false from the shared climbable query for spectators, matching `LivingEntity.onClimbable`. A resource-backed regression compares four actual controlled movement ticks through air, solid stone, ladders, vines and scaffolding. It failed before the fix at the ladder velocity clamp and now matches the full air trajectory for all spectator cases. A survival control still climbs the ladder. Validation: the resident spectator regression with prepared 26.3 resources; warning-denied client all-target Clippy; formatting, whitespace and public-tree checks. The native spectator guard was checked in the existing pinned LivingEntity source. No game window, visual probe or preview rebuild was run. This fixes the confirmed climbable slowdown from #221; ordinary solid-block flight already matched air in the regression. Other unreported movement cases have not been exhaustively audited. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:56:15 +07:00
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#2448
No description provided.