From 13a4a80b3893af13ab748c177b731fed813974ca Mon Sep 17 00:00:00 2001 From: Robert Adams Date: Wed, 10 Jul 2013 09:32:26 -0700 Subject: Add experimental stubs for an extension function interface on both PhysicsScene and PhysicsActor. --- OpenSim/Region/Physics/Manager/PhysicsScene.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'OpenSim/Region/Physics/Manager/PhysicsScene.cs') diff --git a/OpenSim/Region/Physics/Manager/PhysicsScene.cs b/OpenSim/Region/Physics/Manager/PhysicsScene.cs index 290b72e..07a1d36 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsScene.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsScene.cs @@ -25,10 +25,13 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +using System; using System.Collections.Generic; using System.Reflection; + using log4net; using Nini.Config; + using OpenSim.Framework; using OpenMetaverse; @@ -331,5 +334,11 @@ namespace OpenSim.Region.Physics.Manager { return false; } + + // Extendable interface for new, physics engine specific operations + public virtual object Extension(string pFunct, params object[] pParams) + { + throw new NotImplementedException(); + } } } -- cgit v1.1