aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 415a82b..ce0820c 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -1696,6 +1696,10 @@ namespace OpenSim.Region.Framework.Scenes
1696 1696
1697 if (ParentGroup != null) 1697 if (ParentGroup != null)
1698 ParentGroup.HasGroupChanged = true; 1698 ParentGroup.HasGroupChanged = true;
1699
1700 PhysicsActor pa = PhysActor;
1701 if (pa != null)
1702 pa.Density = Density;
1699 } 1703 }
1700 } 1704 }
1701 1705
@@ -1715,6 +1719,9 @@ namespace OpenSim.Region.Framework.Scenes
1715 if (ParentGroup != null) 1719 if (ParentGroup != null)
1716 ParentGroup.HasGroupChanged = true; 1720 ParentGroup.HasGroupChanged = true;
1717 1721
1722 PhysicsActor pa = PhysActor;
1723 if (pa != null)
1724 pa.GravModifier = GravityModifier;
1718 } 1725 }
1719 } 1726 }
1720 1727
@@ -1733,6 +1740,10 @@ namespace OpenSim.Region.Framework.Scenes
1733 1740
1734 if (ParentGroup != null) 1741 if (ParentGroup != null)
1735 ParentGroup.HasGroupChanged = true; 1742 ParentGroup.HasGroupChanged = true;
1743
1744 PhysicsActor pa = PhysActor;
1745 if (pa != null)
1746 pa.Friction = Friction;
1736 } 1747 }
1737 } 1748 }
1738 1749
@@ -1751,6 +1762,10 @@ namespace OpenSim.Region.Framework.Scenes
1751 1762
1752 if (ParentGroup != null) 1763 if (ParentGroup != null)
1753 ParentGroup.HasGroupChanged = true; 1764 ParentGroup.HasGroupChanged = true;
1765
1766 PhysicsActor pa = PhysActor;
1767 if (pa != null)
1768 pa.Restitution = Restitution;
1754 } 1769 }
1755 } 1770 }
1756 1771
@@ -4658,6 +4673,11 @@ namespace OpenSim.Region.Framework.Scenes
4658 pa.SOPName = this.Name; // save object into the PhysActor so ODE internals know the joint/body info 4673 pa.SOPName = this.Name; // save object into the PhysActor so ODE internals know the joint/body info
4659 pa.SetMaterial(Material); 4674 pa.SetMaterial(Material);
4660 4675
4676 pa.Density = Density;
4677 pa.GravModifier = GravityModifier;
4678 pa.Friction = Friction;
4679 pa.Restitution = Restitution;
4680
4661 if (VolumeDetectActive) // change if not the default only 4681 if (VolumeDetectActive) // change if not the default only
4662 pa.SetVolumeDetect(1); 4682 pa.SetVolumeDetect(1);
4663 4683