From 3844e73d2742f4dee633bd2b5a8eb7e1a0d524f9 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Tue, 9 Dec 2008 11:11:16 +0000 Subject: * Gerhard's patch m2781. Does some initial work for setting up llVolumeDetect. * Warning! Physics API change. This means that the NBodySimulation needs to be updated! * PhysicsActor -> void SetVolumeDetect(int) needs to go into classes that use PhysicsActor as their base class. --- OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | 4 ++++ OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | 5 +++++ OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Physics/OdePlugin') diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs index ed95886..6957cca 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs @@ -560,6 +560,10 @@ namespace OpenSim.Region.Physics.OdePlugin } + public override void SetVolumeDetect(int param) + { + + } public override PhysicsVector CenterOfMass { diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs index 0a461e9..b7e4302 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs @@ -2099,6 +2099,11 @@ namespace OpenSim.Region.Physics.OdePlugin } + public override void SetVolumeDetect(int param) + { + + } + public override PhysicsVector CenterOfMass { get { return PhysicsVector.Zero; } diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index 031848c..a875d84 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs @@ -261,7 +261,7 @@ namespace OpenSim.Region.Physics.OdePlugin public int physics_logging_interval = 0; public bool physics_logging_append_existing_logfile = false; - public d.Vector3 xyz = new d.Vector3(2.1640f, -1.3079f, 1.7600f); + public d.Vector3 xyz = new d.Vector3(128.1640f, 128.3079f, 25.7600f); public d.Vector3 hpr = new d.Vector3(125.5000f, -17.0000f, 0.0000f); /// -- cgit v1.1