From 23ec106748d4641a9dfd809b56029391daddf6ba Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Nov 2026 20:52:30 +0400 Subject: fix(input): match the original hero mouse turn scale Use the stock relative X binding and control settings, filter once per input sample, and carry the filter across collision steps. World3D dispatch confirmed both directions, saturation and angle wrapping. Mission 2 was checked from a stock spawn in a Vulkan window with two view captures. The runtime still applies the requested rotation in one step. --- apps/fparkan-game/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/fparkan-game/src/main.rs') diff --git a/apps/fparkan-game/src/main.rs b/apps/fparkan-game/src/main.rs index a328ccad..dfd7be88 100644 --- a/apps/fparkan-game/src/main.rs +++ b/apps/fparkan-game/src/main.rs @@ -14024,6 +14024,7 @@ mod tests { }; let mut hero = pose(step_mission_frame(&mut engine, now).unwrap()); // XY waypoints follow the source bunker graph from the lower room to a terrain entrance. + let mut input = player_collision::WalkRoute::default(); for target in [ [11.562, 28.644, 0.0], [26.370, 28.644, 0.0], @@ -14055,7 +14056,7 @@ mod tests { let step = plan_player_motion_with_collision( &engine, cockpit, - player_collision::walk_toward(hero, [x, y], 2.0), + input.toward(hero, [x, y], 2.0), |step| { app.resolve_player_building_step(step) .map_err(EngineError::Movement) -- cgit v1.2.3