Homebrew 4D Game Engine In Rust, inspired by Engine4D

Apply friction in collision response

Update PhysicsWorld to use combined materials for collision response: - PhysicsConfig now uses floor_material instead of bare restitution - Add with_floor_material() builder for PhysicsConfig - resolve_floor_collisions() combines body and floor materials - Apply friction to tangent velocity after floor collision - resolve_body_pair_collision() combines both body materials - Apply friction to tangent velocity in body-body collisions - Add friction tests (high friction rubber, low friction ice) - Update existing tests for new material-based behavior Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>


Author Willow Sparks Co-author Claude Opus 4.5 Date Commit Parent e361cda3
+96 -11
1 changed file
+96 -11
1 changed file