Quantcast
Channel: Latest Questions by Ricardo
Viewing all articles
Browse latest Browse all 16

CharacterController.skinWidth and vertical displacement

$
0
0

I'm mostly unfamiliar with CharacterController, so I was wondering if anyone here could enlighten me.

Characters using CharacterController are floating above the ground at the height of SkinWidth. From the Unity documentation, I wouldn't have expected that - it reads:

"Two colliders can penetrate each other as deep as their Skin Width."

So I'd interpret it as quite the opposite - the leeway that it has before repelling.

Other pages referring to the parameter on PhysX confirm that

"The skin allows the objects to penetrate each other, at the width of the skin. "

So I'm wondering why I would get it to actually repel from the ground (or box/plane collider below it) at that height. The behavior is the same on 2.6 and the 3 betas, so I imagine this is expected, but can anyone elaborate?


Viewing all articles
Browse latest Browse all 16

Latest Images

Trending Articles





Latest Images