diff options
author | dan miller | 2007-11-05 12:25:53 +0000 |
---|---|---|
committer | dan miller | 2007-11-05 12:25:53 +0000 |
commit | fdb57b28b164f239de0f976b967b79dc2ca5f6ae (patch) | |
tree | e998ae9c7dd6e248e794e35ca19678e3b6f6fad1 /OpenSim/Region/Physics/Manager/PhysicsActor.cs | |
parent | Changed it so opensim.exe should scan for new application plugins every time ... (diff) | |
download | opensim-SC-fdb57b28b164f239de0f976b967b79dc2ca5f6ae.zip opensim-SC-fdb57b28b164f239de0f976b967b79dc2ca5f6ae.tar.gz opensim-SC-fdb57b28b164f239de0f976b967b79dc2ca5f6ae.tar.bz2 opensim-SC-fdb57b28b164f239de0f976b967b79dc2ca5f6ae.tar.xz |
prim cuts in ODE
Much thanks to Gerhard!
Merged with Darok's recent changes re: physical prims
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsActor.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs index bfe1d0b..b151e16 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs | |||
@@ -26,6 +26,7 @@ | |||
26 | * | 26 | * |
27 | */ | 27 | */ |
28 | using Axiom.Math; | 28 | using Axiom.Math; |
29 | using OpenSim.Framework; | ||
29 | 30 | ||
30 | namespace OpenSim.Region.Physics.Manager | 31 | namespace OpenSim.Region.Physics.Manager |
31 | { | 32 | { |
@@ -50,6 +51,11 @@ namespace OpenSim.Region.Physics.Manager | |||
50 | 51 | ||
51 | public abstract PhysicsVector Size { get; set; } | 52 | public abstract PhysicsVector Size { get; set; } |
52 | 53 | ||
54 | public abstract PrimitiveBaseShape Shape | ||
55 | { | ||
56 | set; | ||
57 | } | ||
58 | |||
53 | public abstract PhysicsVector Position { get; set; } | 59 | public abstract PhysicsVector Position { get; set; } |
54 | 60 | ||
55 | public abstract PhysicsVector Velocity { get; set; } | 61 | public abstract PhysicsVector Velocity { get; set; } |
@@ -85,6 +91,14 @@ namespace OpenSim.Region.Physics.Manager | |||
85 | set { return; } | 91 | set { return; } |
86 | } | 92 | } |
87 | 93 | ||
94 | public override PrimitiveBaseShape Shape | ||
95 | { | ||
96 | set | ||
97 | { | ||
98 | return; | ||
99 | } | ||
100 | } | ||
101 | |||
88 | public override PhysicsVector Velocity | 102 | public override PhysicsVector Velocity |
89 | { | 103 | { |
90 | get { return PhysicsVector.Zero; } | 104 | get { return PhysicsVector.Zero; } |