Character controller (tutorial) goes through wall

q2dm1

28-05-2007 21:11:47

Ok, I hope this quesion hasn't been asked before; I searched the forums quite a bit before posting.

Anyways, I've compiled 0.4 RC 3 with Eihort and PhysX 2.6.2 (2.7 didn't work, and I couldn't find 2.6.0 anymore). After correcting the OIS "bug" most of the tutorials ran fine... Well, most of them, because 803 crashed and 606 didn't work as intented.

This is what I'm talking about:



This only happens if the angle between the applied force and the wall normal becomes relatively small (I'd say < 45 degress altought it's hard to say). Otherwise it slides fine along the wall.

Any ideas?

alejandro

30-05-2007 16:31:36

just change the value of desc.skinWidth in nxOgreCharacter.cpp ., and recompile

i used this 0.0125f; , i think is a problem of the scale.