diff options
author | Robert Adams | 2013-05-06 13:29:19 -0700 |
---|---|---|
committer | Robert Adams | 2013-05-06 13:32:26 -0700 |
commit | 045aaa838ac0a6e129ff1d8ec65053508df1d51a (patch) | |
tree | dd164b3b646725d5a5f1ea9b1aebafb68a512059 /OpenSim/Region/Physics/BulletSPlugin/BSActorSetTorque.cs | |
parent | BulletSim: simplify parameter specification by reducing the number of (diff) | |
download | opensim-SC-045aaa838ac0a6e129ff1d8ec65053508df1d51a.zip opensim-SC-045aaa838ac0a6e129ff1d8ec65053508df1d51a.tar.gz opensim-SC-045aaa838ac0a6e129ff1d8ec65053508df1d51a.tar.bz2 opensim-SC-045aaa838ac0a6e129ff1d8ec65053508df1d51a.tar.xz |
BulletSim: remove friction calcuation from BSMotor and move linear and
angular friction computation into linear and angular movement code.
The friction wasn't being applied properly. This will make it so vehicles
don't drift as much and the drift is tunable by changing the friction
timescales.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSActorSetTorque.cs')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSActorSetTorque.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSActorSetTorque.cs b/OpenSim/Region/Physics/BulletSPlugin/BSActorSetTorque.cs index b3806e1..65098e1 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSActorSetTorque.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSActorSetTorque.cs | |||
@@ -101,7 +101,7 @@ public class BSActorSetTorque : BSActor | |||
101 | if (m_torqueMotor == null) | 101 | if (m_torqueMotor == null) |
102 | { | 102 | { |
103 | // A fake motor that might be used someday | 103 | // A fake motor that might be used someday |
104 | m_torqueMotor = new BSFMotor("setTorque", 1f, 1f, 1f, 1f); | 104 | m_torqueMotor = new BSFMotor("setTorque", 1f, 1f, 1f); |
105 | 105 | ||
106 | m_physicsScene.BeforeStep += Mover; | 106 | m_physicsScene.BeforeStep += Mover; |
107 | } | 107 | } |