Nikolay Petrov
963e7a34dc
rewrite movement to c++
2025-12-24 19:34:13 +05:00
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
24e515e80d
[code] Stage 4: Test Results without documentation & tests
2025-08-24 19:49:19 +05:00
Nikolay Petrov
4e1e7be2df
[code] Stage 1 Complete: Surface Classification System
...
- Implemented deterministic surface classification (Walkable/SteepSlope/Wall/Ceiling)
- Added comprehensive test suite (10 automated tests)
- Performance optimized with cached angle thresholds in radians
- Full documentation and inline comments added
- All acceptance criteria met
2025-08-18 00:31:09 +05:00