mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
* 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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user