3D Action RPG Chomper is surrounded by a wall of Cubes equipped with BoxCollider.
The Chomper has a Ridgidbody, but it slips through the Collider's walls.
How can I make it collide with the Collider wall?
ORK 3.16.3
  • Collisions are handled by the Unity side.

    Main thing to check is that your chomper also has a collider on it and that your layers are setup so they actually collide.

    The rigid body should also not be kinematic

    If you’re using NavMesh for ai movement you may also need to make the collider bigger than the agent and/or make the cubes a NavMesh Obstacle
  • Most likely due to using NavMesh for movement - if these walls are static, you'll need to mark them as that and re-bake the NavMesh to register that. For moving stuff, using the NavMesh obstacle component will make it work.

    I'd recommend checking out some NavMesh tutorials in Unity for details :)
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • NavMesh Obstacle and re-bake NavMesh gave me the behavior I was expecting.
    Thank you very much for your response.
Sign In or Register to comment.