diff options
author | Teravus Ovares | 2008-01-28 03:25:02 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-01-28 03:25:02 +0000 |
commit | 5e36feada2a109ef01944eee4ed34fefdacf36a5 (patch) | |
tree | 8bf8f5216d1d3f49a0b8ea078ac281e9423ab243 /OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | |
parent | * Highly experimental ODE_STEPSIZE = 0.025f - 1000 / 25 = 40fps - 10 substeps... (diff) | |
download | opensim-SC_OLD-5e36feada2a109ef01944eee4ed34fefdacf36a5.zip opensim-SC_OLD-5e36feada2a109ef01944eee4ed34fefdacf36a5.tar.gz opensim-SC_OLD-5e36feada2a109ef01944eee4ed34fefdacf36a5.tar.bz2 opensim-SC_OLD-5e36feada2a109ef01944eee4ed34fefdacf36a5.tar.xz |
* Mostly ODE update. Things are a bit more behaved then the last experimental update.
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/OdePlugin.cs')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index e22b2a1..610d4de 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | |||
@@ -338,7 +338,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
338 | { | 338 | { |
339 | //This is disabled at the moment only because it needs more tweaking | 339 | //This is disabled at the moment only because it needs more tweaking |
340 | //It will eventually be uncommented | 340 | //It will eventually be uncommented |
341 | /* | 341 | |
342 | if (contacts[i].depth >= 1.00f) | 342 | if (contacts[i].depth >= 1.00f) |
343 | { | 343 | { |
344 | //MainLog.Instance.Debug("PHYSICS",contacts[i].depth.ToString()); | 344 | //MainLog.Instance.Debug("PHYSICS",contacts[i].depth.ToString()); |
@@ -350,6 +350,8 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
350 | (p1.PhysicsActorType == (int) ActorTypes.Agent && | 350 | (p1.PhysicsActorType == (int) ActorTypes.Agent && |
351 | p2.PhysicsActorType == (int) ActorTypes.Prim)) | 351 | p2.PhysicsActorType == (int) ActorTypes.Prim)) |
352 | { | 352 | { |
353 | //contacts[i].depth = contacts[i].depth * 4.15f; | ||
354 | /* | ||
353 | if (p2.PhysicsActorType == (int) ActorTypes.Agent) | 355 | if (p2.PhysicsActorType == (int) ActorTypes.Agent) |
354 | { | 356 | { |
355 | p2.CollidingObj = true; | 357 | p2.CollidingObj = true; |
@@ -380,8 +382,9 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
380 | 382 | ||
381 | //contacts[i].depth = 0.0000000f; | 383 | //contacts[i].depth = 0.0000000f; |
382 | } | 384 | } |
385 | */ | ||
383 | } | 386 | } |
384 | */ | 387 | |
385 | 388 | ||
386 | // If you interpenetrate a prim with another prim | 389 | // If you interpenetrate a prim with another prim |
387 | if (p1.PhysicsActorType == (int) ActorTypes.Prim && p2.PhysicsActorType == (int) ActorTypes.Prim) | 390 | if (p1.PhysicsActorType == (int) ActorTypes.Prim && p2.PhysicsActorType == (int) ActorTypes.Prim) |