Following various discussions on irc and in the OpenSim dev OSGrid meeting last week, change av_capsule_tilted to false by default

This appears to now give better ODE physics response (less sinking into the ground, etc.)
Please change it back if this is actually a bad idea for some reason
0.6.8-post-fixes
Justin Clark-Casey (justincc) 2009-11-09 19:26:42 +00:00
parent 3274bc39c8
commit a88a463b50
2 changed files with 2 additions and 2 deletions

View File

@ -439,7 +439,7 @@ namespace OpenSim.Region.Physics.OdePlugin
avMovementDivisorWalk = physicsconfig.GetFloat("av_movement_divisor_walk", 1.3f); avMovementDivisorWalk = physicsconfig.GetFloat("av_movement_divisor_walk", 1.3f);
avMovementDivisorRun = physicsconfig.GetFloat("av_movement_divisor_run", 0.8f); avMovementDivisorRun = physicsconfig.GetFloat("av_movement_divisor_run", 0.8f);
avCapRadius = physicsconfig.GetFloat("av_capsule_radius", 0.37f); avCapRadius = physicsconfig.GetFloat("av_capsule_radius", 0.37f);
avCapsuleTilted = physicsconfig.GetBoolean("av_capsule_tilted", true); avCapsuleTilted = physicsconfig.GetBoolean("av_capsule_tilted", false);
contactsPerCollision = physicsconfig.GetInt("contacts_per_collision", 80); contactsPerCollision = physicsconfig.GetInt("contacts_per_collision", 80);

View File

@ -543,7 +543,7 @@
; specifies if the capsule should be tilted (=true; old compatibility mode) ; specifies if the capsule should be tilted (=true; old compatibility mode)
; or straight up-and-down (=false; better and more consistent physics behavior) ; or straight up-and-down (=false; better and more consistent physics behavior)
av_capsule_tilted = true av_capsule_tilted = false
; used to calculate mass of avatar. ; used to calculate mass of avatar.
; float AVvolume = (float) (Math.PI*Math.Pow(CAPSULE_RADIUS, 2)*CAPSULE_LENGTH); ; float AVvolume = (float) (Math.PI*Math.Pow(CAPSULE_RADIUS, 2)*CAPSULE_LENGTH);