From 11ed932263161d1dbea99d4a5699ba6d00894053 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 21 Mar 2012 01:46:41 +0000 Subject: Tell physics about physics shape when creating. Added some virtual methods to get/set density,gravmod, frition,bounce and shape type ( not in use ). UbitOde now should do convex type on creation or everytime the mesh is changed ( as in change size, shape, etc ) --- OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenSim/Region/Framework/Scenes') diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 85d2bee..a494864 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs @@ -1832,6 +1832,7 @@ namespace OpenSim.Region.Framework.Scenes GetWorldRotation(), isPhysical, isPhantom, + PhysicsShapeType, m_localId); } catch @@ -4732,6 +4733,7 @@ namespace OpenSim.Region.Framework.Scenes GetWorldRotation(), //physics wants world rotation like all other functions send UsePhysics, SetPhantom, + PhysicsShapeType, m_localId); PhysActor.SetMaterial(Material); -- cgit v1.1