aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-04-25 01:00:55 +0000
committerTeravus Ovares2008-04-25 01:00:55 +0000
commit9468917b5f6ba6556bd9605e88227ea79e43d94e (patch)
tree7e175b228a221dfcf2f16a2d86a5f3f50f0b2a1e /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
parent* Tuned the llMove2Target PID controller to be more reasonable and not oversh... (diff)
downloadopensim-SC_OLD-9468917b5f6ba6556bd9605e88227ea79e43d94e.zip
opensim-SC_OLD-9468917b5f6ba6556bd9605e88227ea79e43d94e.tar.gz
opensim-SC_OLD-9468917b5f6ba6556bd9605e88227ea79e43d94e.tar.bz2
opensim-SC_OLD-9468917b5f6ba6556bd9605e88227ea79e43d94e.tar.xz
* Implements llTarget, llTargetRemove, at_target(), not_at_target()
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs16
1 files changed, 15 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index 0608fa7..f345dab 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -2367,7 +2367,21 @@ namespace OpenSim.Region.Environment.Scenes
2367 m_parentGroup.SetScriptEvents(scriptID, events); 2367 m_parentGroup.SetScriptEvents(scriptID, events);
2368 } 2368 }
2369 } 2369 }
2370 2370 public int registerTargetWaypoint(LLVector3 target, float tolerance)
2371 {
2372 if (m_parentGroup != null)
2373 {
2374 return m_parentGroup.registerTargetWaypoint(target, tolerance);
2375 }
2376 return 0;
2377 }
2378 public void unregisterTargetWaypoint(int handle)
2379 {
2380 if (m_parentGroup != null)
2381 {
2382 m_parentGroup.unregisterTargetWaypoint(handle);
2383 }
2384 }
2371 protected SceneObjectPart(SerializationInfo info, StreamingContext context) 2385 protected SceneObjectPart(SerializationInfo info, StreamingContext context)
2372 { 2386 {
2373 //System.Console.WriteLine("SceneObjectPart Deserialize BGN"); 2387 //System.Console.WriteLine("SceneObjectPart Deserialize BGN");