Commit Graph

5 Commits (8ee0cba309ce552ca3d7e1bc90fd0e58531fbc42)

Author SHA1 Message Date
Nikolay Petrov 8ee0cba309 [code] implement swept collision detection and ground detection
Movement System:
- Add PerformDeterministicSweep() with adaptive step sizing
- Implement HandleSweepCollision() for slide response
- Add CheckGround() for walkable surface detection
- Implement ground snapping to prevent Z jitter
- Add collision counter tracking (max 25 checks/frame)

Configuration:
- MaxStepSize: 50.0 (sweep collision stepping)
- MinStepSize: 1.0 (precision control)
- MaxCollisionChecks: 25 (performance limit)
- GroundTraceDistance: 5.0 (ground detection range)

Physics:
- Swept collision prevents tunneling at high speeds
- Adaptive stepping: fewer checks at low velocity
- Ground snapping maintains stable Z position
- Deterministic collision response for slide behavior

Testing:
- Add FT_MovementConfiguration for constants validation
- Update FT_BasicMovement to use public getters
- Maintain FT_SurfaceClassification (10 test cases)
- Manual testing checklist for collision/physics validation
2025-10-08 16:36:45 +05:00
Nikolay Petrov b60b7201c5 [code] movements module refactoring 2025-10-03 03:36:29 +05:00
Nikolay Petrov 11596690cd [code] refactor Debug module 2025-10-03 02:09:44 +05:00
Nikolay Petrov 01ef4abe50 [code] deterministic ground movement system 2025-09-19 04:25:32 +05:00
Nikolay Petrov f572fdebca [code] Add ts instruments & refactor all code 2025-09-02 22:33:33 +05:00