Hello
I am still making some tests before trying to develop a full game with Unity
From the manual I read
"Skin width Two colliders can penetrate each other as deep as their Skin Width "
I have two characters with a character controller attached however they bump into each other
The skin width is 20 % of the radius
what am I doing wrong ?
oohh…no answer ?
I was ashamed to ask this question
I assumed it was a silly beginner question
I expected some thing like
“Of course you forgot to…”
Or even
“You misunderstood the use of skinwidth…”
The two colliders do ultimately bump into each other, but they can overlap as far as the skin width. In a game, it is often useful to have a wide “personal space” around a character, but also for two characters to be able to squeeze past each other so they don’t get stuck in a doorway, say.
Thanks for your answer
The point is that the two colliders overlap beyond their skin width
In other words the two characters themselves overlap
Same centers coordinates ,I mean
Are you using the CharacterControllers’ Move or SimpleMove methods to control the character? If you are just changing the transform’s position, you don’t get the collider effect.
actually I was not using Move or simpleMove, thanks
1 Like