* Added proper handling of llSetStatus(STATUS_PHYSICS,BOOL)

This commit is contained in:
Teravus Ovares
2008-03-14 06:20:50 +00:00
parent abacfba287
commit ae9a98ceb1
3 changed files with 70 additions and 3 deletions

View File

@@ -1326,7 +1326,20 @@ namespace OpenSim.Region.Environment.Scenes
// System.Console.WriteLine("Update: PHY:" + UsePhysics.ToString() + ", T:" + IsTemporary.ToString() + ", PHA:" + IsPhantom.ToString() + " S:" + CastsShadows.ToString());
ScheduleFullUpdate();
}
public void ScriptSetPhysicsStatus(bool UsePhysics)
{
if (m_parentGroup != null)
{
m_parentGroup.ScriptSetPhysicsStatus(UsePhysics);
}
}
public void ScriptSetPhantomStatus(bool Phantom)
{
if (m_parentGroup != null)
{
m_parentGroup.ScriptSetPhantomStatus(Phantom);
}
}
public void DoPhysicsPropertyUpdate(bool UsePhysics, bool isNew)
{
if (PhysActor != null)