aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs
diff options
context:
space:
mode:
authorRobert Adams2012-11-24 20:15:07 -0800
committerRobert Adams2012-11-25 20:04:29 -0800
commit980edabc2e9c3563a27f76bc6d8dcc88a59568a1 (patch)
treeb234308154a10c3c5a9c5cd9757a957a2bc9fb1f /OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs
parentBulletSim: small change to add position correction force with AddForce rather... (diff)
downloadopensim-SC-980edabc2e9c3563a27f76bc6d8dcc88a59568a1.zip
opensim-SC-980edabc2e9c3563a27f76bc6d8dcc88a59568a1.tar.gz
opensim-SC-980edabc2e9c3563a27f76bc6d8dcc88a59568a1.tar.bz2
opensim-SC-980edabc2e9c3563a27f76bc6d8dcc88a59568a1.tar.xz
BulletSim: clean up TODO list. It is kept somewhere wlse that should be more public. Add error logging for the detail log writer so a message is output when it cannot write to the specified logging directory. Modify friction defaults to be closer to ODE's values. Add new collision margin and vehicle angular damping parameters.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs b/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs
index a121c3d..7fd7b82 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs
@@ -525,7 +525,7 @@ namespace OpenSim.Region.Physics.BulletSPlugin
525 BulletSimAPI.SetFriction2(Prim.PhysBody.ptr, 0f); 525 BulletSimAPI.SetFriction2(Prim.PhysBody.ptr, 0f);
526 BulletSimAPI.SetHitFraction2(Prim.PhysBody.ptr, 0f); 526 BulletSimAPI.SetHitFraction2(Prim.PhysBody.ptr, 0f);
527 527
528 BulletSimAPI.SetAngularDamping2(Prim.PhysBody.ptr, 0.8f); 528 BulletSimAPI.SetAngularDamping2(Prim.PhysBody.ptr, PhysicsScene.Params.vehicleAngularDamping);
529 529
530 BulletSimAPI.SetMassProps2(Prim.PhysBody.ptr, m_vehicleMass, new Vector3(1f, 1f, 1f)); 530 BulletSimAPI.SetMassProps2(Prim.PhysBody.ptr, m_vehicleMass, new Vector3(1f, 1f, 1f));
531 531