* Added Linear Acceleration reporting to the ODEPlugin.

* Added support for LSL llGetOmega (Rotational/Angular Velocity)- ODEPlugin is the only physics plugin that reports it.
This commit is contained in:
Teravus Ovares
2008-03-10 14:14:44 +00:00
parent d0123a796b
commit f46fcbb9d2
2 changed files with 22 additions and 3 deletions

View File

@@ -1163,8 +1163,7 @@ namespace OpenSim.Region.ScriptEngine.Common
public LSL_Types.Vector3 llGetOmega()
{
m_host.AddScriptLPS(1);
NotImplemented("llGetOmega");
return new LSL_Types.Vector3();
return new LSL_Types.Vector3(m_host.RotationalVelocity.X, m_host.RotationalVelocity.Y, m_host.RotationalVelocity.Z);
}
public double llGetTimeOfDay()