aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BasicPhysicsPlugin
diff options
context:
space:
mode:
authordan miller2007-09-29 03:56:36 +0000
committerdan miller2007-09-29 03:56:36 +0000
commita0265300aa09be0bdd2d4629d6a22394d5b219be (patch)
tree80653af30e29c664e4336896f8df239165073958 /OpenSim/Region/Physics/BasicPhysicsPlugin
parent* Restored trunk (diff)
downloadopensim-SC_OLD-a0265300aa09be0bdd2d4629d6a22394d5b219be.zip
opensim-SC_OLD-a0265300aa09be0bdd2d4629d6a22394d5b219be.tar.gz
opensim-SC_OLD-a0265300aa09be0bdd2d4629d6a22394d5b219be.tar.bz2
opensim-SC_OLD-a0265300aa09be0bdd2d4629d6a22394d5b219be.tar.xz
Hollow prims (box only), thanks Gerard! Enjoy
Diffstat (limited to 'OpenSim/Region/Physics/BasicPhysicsPlugin')
-rw-r--r--OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
index 31861b4..85d9ff6 100644
--- a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
+++ b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
@@ -27,6 +27,7 @@
27*/ 27*/
28using System.Collections.Generic; 28using System.Collections.Generic;
29using Axiom.Math; 29using Axiom.Math;
30using OpenSim.Framework.Types;
30using OpenSim.Region.Physics.Manager; 31using OpenSim.Region.Physics.Manager;
31 32
32namespace OpenSim.Region.Physics.BasicPhysicsPlugin 33namespace OpenSim.Region.Physics.BasicPhysicsPlugin
@@ -72,7 +73,7 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin
72 73
73 } 74 }
74 75
75 public override PhysicsActor AddAvatar(PhysicsVector position) 76 public override PhysicsActor AddAvatar(string avName, PhysicsVector position)
76 { 77 {
77 BasicActor act = new BasicActor(); 78 BasicActor act = new BasicActor();
78 act.Position = position; 79 act.Position = position;
@@ -95,10 +96,17 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin
95 96
96 } 97 }
97 98
99/*
98 public override PhysicsActor AddPrim(PhysicsVector position, PhysicsVector size, Quaternion rotation) 100 public override PhysicsActor AddPrim(PhysicsVector position, PhysicsVector size, Quaternion rotation)
99 { 101 {
100 return null; 102 return null;
101 } 103 }
104*/
105 public override PhysicsActor AddPrimShape(string primName, PrimitiveBaseShape pbs, PhysicsVector position, PhysicsVector size, Quaternion rotation)
106 {
107 return null;
108 }
109
102 110
103 public override void Simulate(float timeStep) 111 public override void Simulate(float timeStep)
104 { 112 {