aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index 48177dc..cbefc19 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -586,6 +586,24 @@ namespace OpenSim.Region.Environment.Scenes
586 } 586 }
587 } 587 }
588 588
589 public void MoveToTarget(LLVector3 target, float tau)
590 {
591 if (tau > 0)
592 {
593 m_parentGroup.moveToTarget(target, tau);
594 }
595 else
596 {
597 StopMoveToTarget();
598 }
599
600 }
601
602 public void StopMoveToTarget()
603 {
604 m_parentGroup.stopMoveToTarget();
605 }
606
589 public void TriggerScriptChangedEvent(Changed val) 607 public void TriggerScriptChangedEvent(Changed val)
590 { 608 {
591 if (m_parentGroup != null) 609 if (m_parentGroup != null)