- Home /
BoxCollider get stuck when dragging over the border of two BoxColliders
I have a Player with a BoxCollider that walks on cubes (I basically drag it over them). But when it reaches the end of one cube that is exactly next to another cube (there is no gap or hight difference) it gets stuck and i have to jump to get over it. Is it possible to fix this error in the collision detection somehow.
Answer by JackTenSeven · Aug 18, 2016 at 01:08 PM
Maybe make sure there is no height difference or angle difference and that the cubes are equal and then if that doesn't work maybe consider using a mesh collider.
i already have the solution. The Problem is called ghost Vertices. They are for more accurate collision or something like that, but they also cause this Problem. Edge colliders work just fine and mesh colliders might do fine too even tho i didn't try it
Your answer
Follow this Question
Related Questions
What else is to be done if players falls through the floor? 0 Answers
Detect if a non-trigger collider is inside another collider 1 Answer
How do I use colliders and/or triggers to end the game? 1 Answer
Best collision detection method? 2 Answers
Does OnTriggerStay don't detect a collision with a non-trigger collider? 1 Answer