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/BSActorMoveToTarget.cs | |
parent | BulletSim: simplify parameter specification by reducing the number of (diff) | |
download | opensim-SC_OLD-045aaa838ac0a6e129ff1d8ec65053508df1d51a.zip opensim-SC_OLD-045aaa838ac0a6e129ff1d8ec65053508df1d51a.tar.gz opensim-SC_OLD-045aaa838ac0a6e129ff1d8ec65053508df1d51a.tar.bz2 opensim-SC_OLD-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/BSActorMoveToTarget.cs')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSActorMoveToTarget.cs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSActorMoveToTarget.cs b/OpenSim/Region/Physics/BulletSPlugin/BSActorMoveToTarget.cs index 1b598fd..75ff24e 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSActorMoveToTarget.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSActorMoveToTarget.cs | |||
@@ -105,7 +105,6 @@ public class BSActorMoveToTarget : BSActor | |||
105 | m_targetMotor = new BSVMotor("BSActorMoveToTargget.Activate", | 105 | m_targetMotor = new BSVMotor("BSActorMoveToTargget.Activate", |
106 | m_controllingPrim.MoveToTargetTau, // timeScale | 106 | m_controllingPrim.MoveToTargetTau, // timeScale |
107 | BSMotor.Infinite, // decay time scale | 107 | BSMotor.Infinite, // decay time scale |
108 | BSMotor.InfiniteVector, // friction timescale | ||
109 | 1f // efficiency | 108 | 1f // efficiency |
110 | ); | 109 | ); |
111 | m_targetMotor.PhysicsScene = m_physicsScene; // DEBUG DEBUG so motor will output detail log messages. | 110 | m_targetMotor.PhysicsScene = m_physicsScene; // DEBUG DEBUG so motor will output detail log messages. |