Tubulii
05-01-2012 14:03:36
I am trying to integrate Physx into my small project but the character controller is very ... uncooperative:
The "usual way" to build a capsule:
Radius = e.g. 25
Height = EntityBoundingBoxHeight - Radius*2 (e.g. 90 - 25*2 = 40)
Character controller with same values (and skinWidth=0, StepOffset=0) and same position (with 50 offset), but the shape is different. This would be no problem if I know how to include this in my calculations...
The character capsule is smaller and floats over the ground, but again the input values are the same...
The "usual way" to build a capsule:
Radius = e.g. 25
Height = EntityBoundingBoxHeight - Radius*2 (e.g. 90 - 25*2 = 40)
Character controller with same values (and skinWidth=0, StepOffset=0) and same position (with 50 offset), but the shape is different. This would be no problem if I know how to include this in my calculations...
The character capsule is smaller and floats over the ground, but again the input values are the same...