diff options
author | UbitUmarov | 2012-03-21 01:46:41 +0000 |
---|---|---|
committer | UbitUmarov | 2012-03-21 01:46:41 +0000 |
commit | 11ed932263161d1dbea99d4a5699ba6d00894053 (patch) | |
tree | 85e26ea10f899ff4a52b7a0c9000daa808cf8282 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |
parent | add convex state to mesh key, so a change is detected. (diff) | |
download | opensim-SC_OLD-11ed932263161d1dbea99d4a5699ba6d00894053.zip opensim-SC_OLD-11ed932263161d1dbea99d4a5699ba6d00894053.tar.gz opensim-SC_OLD-11ed932263161d1dbea99d4a5699ba6d00894053.tar.bz2 opensim-SC_OLD-11ed932263161d1dbea99d4a5699ba6d00894053.tar.xz |
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 )
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 2 |
1 files changed, 2 insertions, 0 deletions
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 | |||
1832 | GetWorldRotation(), | 1832 | GetWorldRotation(), |
1833 | isPhysical, | 1833 | isPhysical, |
1834 | isPhantom, | 1834 | isPhantom, |
1835 | PhysicsShapeType, | ||
1835 | m_localId); | 1836 | m_localId); |
1836 | } | 1837 | } |
1837 | catch | 1838 | catch |
@@ -4732,6 +4733,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
4732 | GetWorldRotation(), //physics wants world rotation like all other functions send | 4733 | GetWorldRotation(), //physics wants world rotation like all other functions send |
4733 | UsePhysics, | 4734 | UsePhysics, |
4734 | SetPhantom, | 4735 | SetPhantom, |
4736 | PhysicsShapeType, | ||
4735 | m_localId); | 4737 | m_localId); |
4736 | 4738 | ||
4737 | PhysActor.SetMaterial(Material); | 4739 | PhysActor.SetMaterial(Material); |