mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Fix issue with llGetTorque() where it would only ever return a zero vector.
This commit is contained in:
@@ -1536,15 +1536,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
m_parentGroup.setAngularImpulse(impulse);
|
||||
}
|
||||
|
||||
public Vector3 GetTorque()
|
||||
{
|
||||
if (m_parentGroup != null)
|
||||
{
|
||||
m_parentGroup.GetTorque();
|
||||
}
|
||||
return Vector3.Zero;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Apply physics to this part.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user