aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
diff options
context:
space:
mode:
authorRobert Adams2012-07-18 08:49:01 -0700
committerRobert Adams2012-07-20 14:02:29 -0700
commit7451bb16137fad6336fae12608ef6df92ba1a46c (patch)
treecdf12be395b7058310f63647fd685b1ae0951071 /OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
parentBulletSim: Add very detailed logging to BSDynamics for vehicle debugging (diff)
downloadopensim-SC_OLD-7451bb16137fad6336fae12608ef6df92ba1a46c.zip
opensim-SC_OLD-7451bb16137fad6336fae12608ef6df92ba1a46c.tar.gz
opensim-SC_OLD-7451bb16137fad6336fae12608ef6df92ba1a46c.tar.bz2
opensim-SC_OLD-7451bb16137fad6336fae12608ef6df92ba1a46c.tar.xz
BulletSim: fix compile errors from last commit. Clean up passing of physics scene into vehicle dynamics code.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
index 227696e..5911897 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
@@ -149,7 +149,7 @@ public sealed class BSPrim : PhysicsActor
149 { 149 {
150 // m_log.DebugFormat("{0}: Destroy, id={1}", LogHeader, LocalID); 150 // m_log.DebugFormat("{0}: Destroy, id={1}", LogHeader, LocalID);
151 // Undo any vehicle properties 151 // Undo any vehicle properties
152 _vehicle.ProcessTypeChange(Vehicle.TYPE_NONE, 1f); 152 _vehicle.ProcessTypeChange(Vehicle.TYPE_NONE);
153 _scene.RemoveVehiclePrim(this); // just to make sure 153 _scene.RemoveVehiclePrim(this); // just to make sure
154 154
155 // undo any dependance with/on other objects 155 // undo any dependance with/on other objects
@@ -354,7 +354,7 @@ public sealed class BSPrim : PhysicsActor
354 } 354 }
355 set { 355 set {
356 Vehicle type = (Vehicle)value; 356 Vehicle type = (Vehicle)value;
357 _vehicle.ProcessTypeChange(type, _scene.LastSimulatedTimestep); 357 _vehicle.ProcessTypeChange(type);
358 _scene.TaintedObject(delegate() 358 _scene.TaintedObject(delegate()
359 { 359 {
360 if (type == Vehicle.TYPE_NONE) 360 if (type == Vehicle.TYPE_NONE)
@@ -389,7 +389,7 @@ public sealed class BSPrim : PhysicsActor
389 // Called each simulation step to advance vehicle characteristics 389 // Called each simulation step to advance vehicle characteristics
390 public void StepVehicle(float timeStep) 390 public void StepVehicle(float timeStep)
391 { 391 {
392 _vehicle.Step(timeStep, _scene); 392 _vehicle.Step(timeStep);
393 } 393 }
394 394
395 // Allows the detection of collisions with inherently non-physical prims. see llVolumeDetect for more 395 // Allows the detection of collisions with inherently non-physical prims. see llVolumeDetect for more