public LSL_Vector llGetForce()
{
if (!ScriptProtection.CheckThreatLevel(ThreatLevel.None, "LSL", m_host, "LSL", m_itemID)) return new LSL_Vector();
LSL_Vector force = new LSL_Vector(0.0, 0.0, 0.0);
if (m_host.ParentEntity != null)
{
if (!m_host.ParentEntity.IsDeleted)
{
Vector3 tmpForce = m_host.ParentEntity.RootChild.GetForce();
force.x = tmpForce.X;
force.y = tmpForce.Y;
force.z = tmpForce.Z;
}
}
return force;
}