aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorRevolution2010-01-10 20:20:00 -0600
committerMelanie2010-01-11 02:00:40 +0000
commita0859754c03324be9a4a2b9c9f26928e64cb5a6f (patch)
treede452818c3a8bae329760d3012e07c467479845b /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentClean CRs from previous patch (diff)
downloadopensim-SC-a0859754c03324be9a4a2b9c9f26928e64cb5a6f.zip
opensim-SC-a0859754c03324be9a4a2b9c9f26928e64cb5a6f.tar.gz
opensim-SC-a0859754c03324be9a4a2b9c9f26928e64cb5a6f.tar.bz2
opensim-SC-a0859754c03324be9a4a2b9c9f26928e64cb5a6f.tar.xz
Adds llRotTarget and the events at_rot_target and not_at_rot_target.
Signed-off-by: Melanie <melanie@t-data.com>
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 73f79b3..177de47 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -4078,6 +4078,23 @@ namespace OpenSim.Region.Framework.Scenes
4078 { 4078 {
4079 m_parentGroup.unregisterTargetWaypoint(handle); 4079 m_parentGroup.unregisterTargetWaypoint(handle);
4080 } 4080 }
4081 }
4082
4083 public int registerRotTargetWaypoint(Quaternion target, float tolerance)
4084 {
4085 if (m_parentGroup != null)
4086 {
4087 return m_parentGroup.registerRotTargetWaypoint(target, tolerance);
4088 }
4089 return 0;
4090 }
4091
4092 public void unregisterRotTargetWaypoint(int handle)
4093 {
4094 if (m_parentGroup != null)
4095 {
4096 m_parentGroup.unregisterRotTargetWaypoint(handle);
4097 }
4081 } 4098 }
4082 4099
4083 public void SetCameraAtOffset(Vector3 v) 4100 public void SetCameraAtOffset(Vector3 v)