diff options
author | KittoFlora | 2009-10-26 00:10:23 +0100 |
---|---|---|
committer | KittoFlora | 2009-10-26 00:10:23 +0100 |
commit | 8428b25939d39711e732eeb3928e8a8e64aad8a9 (patch) | |
tree | 4431c6743c579dcaa83a5f979496ccc574ae25e3 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |
parent | Commented out instrumentation in ODEPrim.cs (diff) | |
download | opensim-SC-8428b25939d39711e732eeb3928e8a8e64aad8a9.zip opensim-SC-8428b25939d39711e732eeb3928e8a8e64aad8a9.tar.gz opensim-SC-8428b25939d39711e732eeb3928e8a8e64aad8a9.tar.bz2 opensim-SC-8428b25939d39711e732eeb3928e8a8e64aad8a9.tar.xz |
Add llRotLookat pt1.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 32171a0..5f46f6f 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -2187,6 +2187,11 @@ if (m_shape != null) { | |||
2187 | ParentGroup.HasGroupChanged = true; | 2187 | ParentGroup.HasGroupChanged = true; |
2188 | ScheduleFullUpdate(); | 2188 | ScheduleFullUpdate(); |
2189 | } | 2189 | } |
2190 | |||
2191 | public void RotLookAt(Quaternion target, float strength, float damping) | ||
2192 | { | ||
2193 | m_parentGroup.rotLookAt(target, strength, damping); | ||
2194 | } | ||
2190 | 2195 | ||
2191 | /// <summary> | 2196 | /// <summary> |
2192 | /// Schedules this prim for a full update | 2197 | /// Schedules this prim for a full update |
@@ -2662,6 +2667,13 @@ if (m_shape != null) { | |||
2662 | SetText(text); | 2667 | SetText(text); |
2663 | } | 2668 | } |
2664 | 2669 | ||
2670 | public void StopLookAt() | ||
2671 | { | ||
2672 | m_parentGroup.stopLookAt(); | ||
2673 | |||
2674 | m_parentGroup.ScheduleGroupForTerseUpdate(); | ||
2675 | } | ||
2676 | |||
2665 | public void StopMoveToTarget() | 2677 | public void StopMoveToTarget() |
2666 | { | 2678 | { |
2667 | m_parentGroup.stopMoveToTarget(); | 2679 | m_parentGroup.stopMoveToTarget(); |