aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/walking_slope.rs
Commit message (Collapse)AuthorAgeFilesLines
* fix(movement): carry hero walking velocity between ticksValentin Popov10 days1-45/+0
| | | | | | | | | | 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.
* fix(movement): limit hero ascent using the Control slope profileValentin Popov10 days1-0/+45
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.