<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fparkan/crates/fparkan-runtime/src/player_motion.rs, branch trunk</title>
<subtitle>Utilities and tools for the game "Parkan: Iron Strategy".
</subtitle>
<id>https://git.popov.link/fparkan/atom?h=trunk</id>
<link rel='self' href='https://git.popov.link/fparkan/atom?h=trunk'/>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/'/>
<updated>2026-12-03T13:57:40+00:00</updated>
<entry>
<title>feat(ui): show cockpit speed and Control limit</title>
<updated>2026-12-03T13:57:40+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-12-03T13:57:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=ca66e64b3995229ca7c8771b75ca26a60c3e344f'/>
<id>urn:sha1:ca66e64b3995229ca7c8771b75ca26a60c3e344f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(ui): enable manual control from the bunker list</title>
<updated>2026-12-02T15:57:36+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-12-02T15:57:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=1fd51e5bbcfb4d5590fbc1ded8308fc40f6158f4'/>
<id>urn:sha1:1fd51e5bbcfb4d5590fbc1ded8308fc40f6158f4</id>
<content type='text'>
Use the active Control camera record and its separate CPT origin and direction for the fixed turret. The original hand control opens the cockpit, its two weapon slots and aim tracks while leaving the operator at the command post.

Verified from the stock Two Fortresses start against the GOG cockpit with Vulkan validation. The licensed tests cover the native camera pose, mounted weapon selection and stationary bunker and operator.
</content>
</entry>
<entry>
<title>feat(ui): watch a warbot on autopilot from its cockpit</title>
<updated>2026-12-02T10:59:29+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-12-02T10:59:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=98569dc5e8ee01b19ee82852a807f6a2b911dae4'/>
<id>urn:sha1:98569dc5e8ee01b19ee82852a807f6a2b911dae4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(gameplay): ground the hero when a warbot is destroyed</title>
<updated>2026-12-01T02:17:23+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-12-01T02:17:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=be3b214702693eab36da4484624327d2cad8beec'/>
<id>urn:sha1:be3b214702693eab36da4484624327d2cad8beec</id>
<content type='text'>
A passenger kept the destroyed chassis root height and carried that offset
into walking. In Two Fortresses this left the hero above the entrance to
the last bunker. Put the hero on the terrain at the last chassis position,
and retain the current elevation when the chassis was on a building floor.

The licensed chassis test reproduces the old height and verifies the
ejection after projectile damage. The stock Two Fortresses replay confirms
the height correction during combat. Workspace checks and a Vulkan
validation run from the normal start passed. Native ejection placement
and the flying vehicle case remain open.
</content>
</entry>
<entry>
<title>feat(camera): free look with left Shift from the cockpit</title>
<updated>2026-11-26T17:21:49+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-26T17:21:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=78a63745f471c028c0ed67f133de9034e901c905'/>
<id>urn:sha1:78a63745f471c028c0ed67f133de9034e901c905</id>
<content type='text'>
Route shifted mouse samples to the independent Control camera phases, apply yaw then pitch at the existing cockpit point, and recenter on Shift release or right click. Original World3D dispatch and Control camera calls verified wrapping, clamping, recentering, and the transform. A stock Firing Range window showed the view move and return with hull yaw and turret pitch unchanged.
</content>
</entry>
<entry>
<title>fix(input): use the original hero turret elevation range</title>
<updated>2026-11-26T17:10:24+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-26T17:10:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=75dcc70912d4e6feb14d9370452914ff826849f7'/>
<id>urn:sha1:75dcc70912d4e6feb14d9370452914ff826849f7</id>
<content type='text'>
Apply the World3D mouse Y filter and reverse setting, update the normalized turret request, and use the authored neutral and span to share pitch with the cockpit and elevation tracks. Original World3D dispatch and Control manual mode confirmed the gain and clamp. Stock Firing Range captures show both endpoints and the licensed Constructor test checks the camera and turret together.
</content>
</entry>
<entry>
<title>fix(movement): carry unfinished hero turns across ticks</title>
<updated>2026-11-26T16:58:16+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-26T16:58:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=07a90f035ebd935ad9705a5f8a8916638a4a8f4f'/>
<id>urn:sha1:07a90f035ebd935ad9705a5f8a8916638a4a8f4f</id>
<content type='text'>
Use the angular limit in Control profile word 11 and preserve the unconsumed phase. The original Control read and write dispatch and orientation update delivered 0.5022847 then 0.4401929 radians at two 10 ms samples. The same steps changed the view in a Vulkan window from the stock Firing Range start.
</content>
</entry>
<entry>
<title>fix(input): match the original hero mouse turn scale</title>
<updated>2026-11-26T16:52:30+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-26T16:52:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=23ec106748d4641a9dfd809b56029391daddf6ba'/>
<id>urn:sha1:23ec106748d4641a9dfd809b56029391daddf6ba</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>fix(movement): carry hero walking velocity between ticks</title>
<updated>2026-11-26T16:37:09+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-26T16:37:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=1f366ac0d39a3b1f0b19721ed78936bad1e504dd'/>
<id>urn:sha1:1f366ac0d39a3b1f0b19721ed78936bad1e504dd</id>
<content type='text'>
Take both horizontal limits and acceleration from the active Control
profile. Apply the measured slope braking after the input update and
clear velocity on a blocking wall, teleport or boarding.

Keep the terrain limit during geometric sweeps so momentum cannot skip
a narrow cliff. In the stock Firing Line window the hero reached the
slope, stopped at its foot, backed away, and coasted on key release.
</content>
</entry>
<entry>
<title>fix(movement): limit hero ascent using the Control slope profile</title>
<updated>2026-11-26T16:20:38+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-26T16:20:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=f3d1b4d2aff8e47003626129641c36e44c7fb040'/>
<id>urn:sha1:f3d1b4d2aff8e47003626129641c36e44c7fb040</id>
<content type='text'>
Use the normal of the same triangle that supplies terrain support, apply
the walking profile's speed envelope, and resolve support again for the
shortened step. The existing immediate-speed model still omits native
braking inertia.

The native Control call confirms the envelope and the downhill bypass.
In the stock Firing Line window the hero stopped at the west slope and
could walk back. The bridge and factory walkway corpus checks passed.
</content>
</entry>
</feed>
