From fcc7f86427f14f9a43a918f30cdf97b438c49a77 Mon Sep 17 00:00:00 2001 From: MW Date: Fri, 13 Jul 2007 16:12:38 +0000 Subject: Changed simpleApp to use basic physics. Done some work of fixing primitive/SceneObject copying. Set DefaultHome region to 1000,1000. --- OpenSim/Region/Examples/SimpleApp/Program.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Examples/SimpleApp') diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs index 7770538..ce3c056 100644 --- a/OpenSim/Region/Examples/SimpleApp/Program.cs +++ b/OpenSim/Region/Examples/SimpleApp/Program.cs @@ -41,6 +41,9 @@ namespace SimpleApp assetServer.SetReceiver(this); AssetCache assetCache = new AssetCache(assetServer); + + PhysicsManager physManager = new PhysicsManager(); + physManager.LoadPlugins(); UDPServer udpServer = new UDPServer( internalEndPoint.Port, assetCache, inventoryCache, m_log, m_circuitManager ); PacketServer packetServer = new PacketServer(udpServer); @@ -55,7 +58,7 @@ namespace SimpleApp RegionInfo regionInfo = new RegionInfo( 1000, 1000, internalEndPoint, "127.0.0.1" ); MyWorld world = new MyWorld(packetServer.ClientManager, regionInfo, m_circuitManager, communicationsManager, assetCache, httpServer); - world.PhysScene = PhysicsScene.Null; + world.PhysScene = physManager.GetPhysicsScene("basicphysics"); //PhysicsScene.Null; udpServer.LocalWorld = world; httpServer.Start(); -- cgit v1.1