What problem does it solve?
Unity physics can produce floor penetration, tunneling, and unstable collision responses when moving fast or using simple controllers. This skill provides patterns to ensure reliable grounding, robust collision handling, and tunneling prevention.
Core Features & Use Cases
- Continuous collision detection settings (e.g., Rigidbody collisionDetectionMode) to prevent fast objects from tunneling.
- SphereCast ground checks and grounded state handling to improve stability of character movement.
- Sub-stepping or stepwise movement strategies to handle high-speed motion without missing collisions.
- Layer-based collision management for performance and correctness.
- Practical patterns for projectile physics, character controllers, and rigidbody-based movement in Unity.
- Troubleshooting guidance for common physics issues such as jitter, penetration, and missed collisions.
Quick Start
Integrate these patterns into your Unity project to achieve robust movement, reliable collisions, and tunneling prevention.