Something went wrong. Try again.
Homebrew 4D Game Engine In Rust, inspired by Engine4D
Something went wrong. Try again.
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 (Jan 27, 2026, 1:38 PM UTC) Commit
Copy SHA
Parent e361cda3 e361cda3aec64b637e267b5b3f8be5b501d8c692