BulletSim: Make avatar capsule so it is not circular.

Simple attempt to make avatars better shaped.
Replace parameter 'avatarCapsuleRadius' with 'avatarCapsuleWidth'
and 'avatarCapsuleDepth'.
More tweeking to avatar height calculation. A little better but
short avatar's feet are above the terrain and tall avatar's feet
are a little below the ground.
This commit is contained in:
Robert Adams
2012-11-21 16:31:23 -08:00
parent 4a0de01704
commit cbc7e7bf85
7 changed files with 41 additions and 22 deletions

View File

@@ -291,7 +291,8 @@ public struct ConfigurationParameters
public float avatarStandingFriction;
public float avatarDensity;
public float avatarRestitution;
public float avatarCapsuleRadius;
public float avatarCapsuleWidth;
public float avatarCapsuleDepth;
public float avatarCapsuleHeight;
public float avatarContactProcessingThreshold;