* Adds llMoveToTarget and llStopMoveToTarget support to the ODEPlugin.

* It doesn't generate at_target events, because they don't exist yet in the script engine.
* The Tau is different, however, compatible with scripts I tested.
* Not perfect...  but pretty good.
This commit is contained in:
Teravus Ovares
2008-03-25 03:36:31 +00:00
parent a2daccad5e
commit a21112ccee
10 changed files with 193 additions and 6 deletions

View File

@@ -1097,13 +1097,15 @@ namespace OpenSim.Region.ScriptEngine.Common
public void llMoveToTarget(LSL_Types.Vector3 target, double tau)
{
m_host.AddScriptLPS(1);
NotImplemented("llMoveToTarget");
m_host.MoveToTarget(new LLVector3((float)target.x, (float)target.y, (float)target.z), (float)tau);
//NotImplemented("llMoveToTarget");
}
public void llStopMoveToTarget()
{
m_host.AddScriptLPS(1);
NotImplemented("llStopMoveToTarget");
m_host.StopMoveToTarget();
//NotImplemented("llStopMoveToTarget");
}
public void llApplyImpulse(LSL_Types.Vector3 force, int local)