aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/ODEDynamics.cs
diff options
context:
space:
mode:
authorKittoFlora2009-10-26 00:10:23 +0100
committerKittoFlora2009-10-26 00:10:23 +0100
commit8428b25939d39711e732eeb3928e8a8e64aad8a9 (patch)
tree4431c6743c579dcaa83a5f979496ccc574ae25e3 /OpenSim/Region/Physics/OdePlugin/ODEDynamics.cs
parentCommented out instrumentation in ODEPrim.cs (diff)
downloadopensim-SC-8428b25939d39711e732eeb3928e8a8e64aad8a9.zip
opensim-SC-8428b25939d39711e732eeb3928e8a8e64aad8a9.tar.gz
opensim-SC-8428b25939d39711e732eeb3928e8a8e64aad8a9.tar.bz2
opensim-SC-8428b25939d39711e732eeb3928e8a8e64aad8a9.tar.xz
Add llRotLookat pt1.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODEDynamics.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEDynamics.cs b/OpenSim/Region/Physics/OdePlugin/ODEDynamics.cs
index 467eba0..8b57f06 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODEDynamics.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODEDynamics.cs
@@ -119,7 +119,7 @@ namespace OpenSim.Region.Physics.OdePlugin
119 private float m_VhoverEfficiency = 0f; 119 private float m_VhoverEfficiency = 0f;
120 private float m_VhoverTimescale = 0f; 120 private float m_VhoverTimescale = 0f;
121 private float m_VhoverTargetHeight = -1.0f; // if <0 then no hover, else its the current target height 121 private float m_VhoverTargetHeight = -1.0f; // if <0 then no hover, else its the current target height
122 private float m_VehicleBuoyancy = 0f; //KF: m_VehicleBuoyancy is set by VEHICLE_BUOYANCY for a vehicle. 122 private float m_VehicleBuoyancy = 0f; // Set by VEHICLE_BUOYANCY, for a vehicle.
123 // Modifies gravity. Slider between -1 (double-gravity) and 1 (full anti-gravity) 123 // Modifies gravity. Slider between -1 (double-gravity) and 1 (full anti-gravity)
124 // KF: So far I have found no good method to combine a script-requested .Z velocity and gravity. 124 // KF: So far I have found no good method to combine a script-requested .Z velocity and gravity.
125 // Therefore only m_VehicleBuoyancy=1 (0g) will use the script-requested .Z velocity. 125 // Therefore only m_VehicleBuoyancy=1 (0g) will use the script-requested .Z velocity.
@@ -478,7 +478,7 @@ namespace OpenSim.Region.Physics.OdePlugin
478 Quaternion rotq = new Quaternion(rot.X, rot.Y, rot.Z, rot.W); // rotq = rotation of object 478 Quaternion rotq = new Quaternion(rot.X, rot.Y, rot.Z, rot.W); // rotq = rotation of object
479 m_dir *= rotq; // apply obj rotation to velocity vector 479 m_dir *= rotq; // apply obj rotation to velocity vector
480 480
481 // add Gravity andBuoyancy 481 // add Gravity and Buoyancy
482 // KF: So far I have found no good method to combine a script-requested 482 // KF: So far I have found no good method to combine a script-requested
483 // .Z velocity and gravity. Therefore only 0g will used script-requested 483 // .Z velocity and gravity. Therefore only 0g will used script-requested
484 // .Z velocity. >0g (m_VehicleBuoyancy < 1) will used modified gravity only. 484 // .Z velocity. >0g (m_VehicleBuoyancy < 1) will used modified gravity only.