mirror of
https://github.com/opensim/opensim.git
synced 2026-07-02 00:15:45 +08:00
* 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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user