From fdb57b28b164f239de0f976b967b79dc2ca5f6ae Mon Sep 17 00:00:00 2001 From: dan miller Date: Mon, 5 Nov 2007 12:25:53 +0000 Subject: prim cuts in ODE Much thanks to Gerhard! Merged with Darok's recent changes re: physical prims --- OpenSim/Region/Physics/Manager/PhysicsActor.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'OpenSim/Region/Physics/Manager/PhysicsActor.cs') 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 @@ * */ using Axiom.Math; +using OpenSim.Framework; namespace OpenSim.Region.Physics.Manager { @@ -50,6 +51,11 @@ namespace OpenSim.Region.Physics.Manager public abstract PhysicsVector Size { get; set; } + public abstract PrimitiveBaseShape Shape + { + set; + } + public abstract PhysicsVector Position { get; set; } public abstract PhysicsVector Velocity { get; set; } @@ -85,6 +91,14 @@ namespace OpenSim.Region.Physics.Manager set { return; } } + public override PrimitiveBaseShape Shape + { + set + { + return; + } + } + public override PhysicsVector Velocity { get { return PhysicsVector.Zero; } -- cgit v1.1