diff options
author | Teravus Ovares | 2008-12-09 11:11:16 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-12-09 11:11:16 +0000 |
commit | 3844e73d2742f4dee633bd2b5a8eb7e1a0d524f9 (patch) | |
tree | 11762c8bd9aa512d52de004e46e83a1e8e51e8a9 /OpenSim/Region/Physics/Manager/PhysicsActor.cs | |
parent | clean up some old debugging code (diff) | |
download | opensim-SC_OLD-3844e73d2742f4dee633bd2b5a8eb7e1a0d524f9.zip opensim-SC_OLD-3844e73d2742f4dee633bd2b5a8eb7e1a0d524f9.tar.gz opensim-SC_OLD-3844e73d2742f4dee633bd2b5a8eb7e1a0d524f9.tar.bz2 opensim-SC_OLD-3844e73d2742f4dee633bd2b5a8eb7e1a0d524f9.tar.xz |
* 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.
Diffstat (limited to 'OpenSim/Region/Physics/Manager/PhysicsActor.cs')
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsActor.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs index 5b51203..3c094ad 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs | |||
@@ -180,6 +180,8 @@ namespace OpenSim.Region.Physics.Manager | |||
180 | public abstract void VehicleVectorParam(int param, PhysicsVector value); | 180 | public abstract void VehicleVectorParam(int param, PhysicsVector value); |
181 | public abstract void VehicleRotationParam(int param, Quaternion rotation); | 181 | public abstract void VehicleRotationParam(int param, Quaternion rotation); |
182 | 182 | ||
183 | public abstract void SetVolumeDetect(int param); // Allows the detection of collisions with inherently non-physical prims. see llVolumeDetect for more | ||
184 | |||
183 | public abstract PhysicsVector GeometricCenter { get; } | 185 | public abstract PhysicsVector GeometricCenter { get; } |
184 | public abstract PhysicsVector CenterOfMass { get; } | 186 | public abstract PhysicsVector CenterOfMass { get; } |
185 | public abstract PhysicsVector Velocity { get; set; } | 187 | public abstract PhysicsVector Velocity { get; set; } |
@@ -303,6 +305,11 @@ namespace OpenSim.Region.Physics.Manager | |||
303 | 305 | ||
304 | } | 306 | } |
305 | 307 | ||
308 | public override void SetVolumeDetect(int param) | ||
309 | { | ||
310 | |||
311 | } | ||
312 | |||
306 | public override PhysicsVector CenterOfMass | 313 | public override PhysicsVector CenterOfMass |
307 | { | 314 | { |
308 | get { return PhysicsVector.Zero; } | 315 | get { return PhysicsVector.Zero; } |