diff options
author | dan miller | 2007-09-29 03:56:36 +0000 |
---|---|---|
committer | dan miller | 2007-09-29 03:56:36 +0000 |
commit | a0265300aa09be0bdd2d4629d6a22394d5b219be (patch) | |
tree | 80653af30e29c664e4336896f8df239165073958 /OpenSim/Region/Physics/BasicPhysicsPlugin | |
parent | * Restored trunk (diff) | |
download | opensim-SC-a0265300aa09be0bdd2d4629d6a22394d5b219be.zip opensim-SC-a0265300aa09be0bdd2d4629d6a22394d5b219be.tar.gz opensim-SC-a0265300aa09be0bdd2d4629d6a22394d5b219be.tar.bz2 opensim-SC-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.cs | 10 |
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 | */ |
28 | using System.Collections.Generic; | 28 | using System.Collections.Generic; |
29 | using Axiom.Math; | 29 | using Axiom.Math; |
30 | using OpenSim.Framework.Types; | ||
30 | using OpenSim.Region.Physics.Manager; | 31 | using OpenSim.Region.Physics.Manager; |
31 | 32 | ||
32 | namespace OpenSim.Region.Physics.BasicPhysicsPlugin | 33 | namespace 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 | { |