aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BasicPhysicsPlugin
diff options
context:
space:
mode:
authorMW2007-08-23 17:21:08 +0000
committerMW2007-08-23 17:21:08 +0000
commit0d5311e49bf5700efcf779bfa4bc83a00585c424 (patch)
tree168ea226f01a7e486f4dd6f288ef00afdd67ff68 /OpenSim/Region/Physics/BasicPhysicsPlugin
parentgrouping of functions to make the overall logic easier to grasp for people, (diff)
downloadopensim-SC_OLD-0d5311e49bf5700efcf779bfa4bc83a00585c424.zip
opensim-SC_OLD-0d5311e49bf5700efcf779bfa4bc83a00585c424.tar.gz
opensim-SC_OLD-0d5311e49bf5700efcf779bfa4bc83a00585c424.tar.bz2
opensim-SC_OLD-0d5311e49bf5700efcf779bfa4bc83a00585c424.tar.xz
Added RemovePrim method to the physics plugins interface.
Implemented that method in ODE plugin. Hooked it up so when deleting/taking prims into your inventory they will be removed from physics engine. Enabled the other physics hook ups in Scene.cs (and also added registering prims with physics plugin when they are rezzed from Inventory.) So now to get the avatar to prim collision testing working, just change to use the ODE plugin (in the OpenSim.ini file, physics = OpenDynamicsEngine). Remember though ODE only really works (without problems) when running with a single region.
Diffstat (limited to 'OpenSim/Region/Physics/BasicPhysicsPlugin')
-rw-r--r--OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
index 92b6929..c1ad555 100644
--- a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
+++ b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
@@ -80,6 +80,11 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin
80 return act; 80 return act;
81 } 81 }
82 82
83 public override void RemovePrim(PhysicsActor prim)
84 {
85
86 }
87
83 public override void RemoveAvatar(PhysicsActor actor) 88 public override void RemoveAvatar(PhysicsActor actor)
84 { 89 {
85 BasicActor act = (BasicActor)actor; 90 BasicActor act = (BasicActor)actor;