box colliders next to each other bug
Hi all,
I work on a game in which you can build your own level and play it. You can create a cube, with a box collider, and move it where you wants. You can also change its color. But when you put two cube next to the other, the character will detect a collision on Z axis. As my character collider is a capsule, it make my character jump. If I put a box collider instead of capsule, my character is stopped.
Here is a explanatory video: https://youtu.be/xuqs1zcdDlk
How should I solve this??
Hello.
First, i think the problem is not the player ocllider, you need to find a solution involving floor colliders.
Are you sure red and blue colliders ar exactly at same height?
Are you sure ther is no a small empty space between red and blue?
Try to overlap both box colliders (make them (1.05f, 1, 1.05f)
Good luck!
Yes, it's exactly the same height. If I put my character on blue and run to red, i'll have the same bug. I tried to overlap both box colliders, but problem still here. $$anonymous$$y character jump when it detect the other box collider..
Can you post your charactes inspector? to see the colliders, the rigidbody, etc...
Your answer
![](https://koobas.hobune.stream/wayback/20220612201731im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Easier way to make large scale barriers? 0 Answers
Calling "OnTriggerEnter" when a parent object has a rigidbody 0 Answers
Box Collider for animating characters. 0 Answers
how to solve Box Collider corner problem ? 0 Answers
How i prevent 2 obejcts with kinematic checked in both rigidbodies collide? 3 Answers