diff options
author | Robert Adams | 2013-01-21 23:43:24 -0800 |
---|---|---|
committer | Robert Adams | 2013-01-21 23:43:24 -0800 |
commit | 80b1e32bfa00a2d3354f0d7e0df83a5b0b3e2c49 (patch) | |
tree | 6d6ca5dbbdc60f2b9464d03a773facdcf11bb80a /OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | |
parent | BulletSim: allow changing position and rotation of a child of a linkset (diff) | |
download | opensim-SC-80b1e32bfa00a2d3354f0d7e0df83a5b0b3e2c49.zip opensim-SC-80b1e32bfa00a2d3354f0d7e0df83a5b0b3e2c49.tar.gz opensim-SC-80b1e32bfa00a2d3354f0d7e0df83a5b0b3e2c49.tar.bz2 opensim-SC-80b1e32bfa00a2d3354f0d7e0df83a5b0b3e2c49.tar.xz |
BulletSim: Tweeks to vehicle motion.
Pass through old angular velocity making for smoother transitions.
Remove some old kludges for angular motion (damping and rotvel suppression).
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs b/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs index 2b4488a..da7438a 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | |||
@@ -450,7 +450,7 @@ public static class BSParam | |||
450 | (s) => { return (float)VehicleMaxAngularVelocity; }, | 450 | (s) => { return (float)VehicleMaxAngularVelocity; }, |
451 | (s,p,l,v) => { VehicleMaxAngularVelocity = v; } ), | 451 | (s,p,l,v) => { VehicleMaxAngularVelocity = v; } ), |
452 | new ParameterDefn("VehicleAngularDamping", "Factor to damp vehicle angular movement per second (0.0 - 1.0)", | 452 | new ParameterDefn("VehicleAngularDamping", "Factor to damp vehicle angular movement per second (0.0 - 1.0)", |
453 | 0.95f, | 453 | 0.0f, |
454 | (s,cf,p,v) => { VehicleAngularDamping = cf.GetFloat(p, v); }, | 454 | (s,cf,p,v) => { VehicleAngularDamping = cf.GetFloat(p, v); }, |
455 | (s) => { return VehicleAngularDamping; }, | 455 | (s) => { return VehicleAngularDamping; }, |
456 | (s,p,l,v) => { VehicleAngularDamping = v; } ), | 456 | (s,p,l,v) => { VehicleAngularDamping = v; } ), |