lltargetomega efective spinrate now multiplied by gain ( need check )

avinationmerge
UbitUmarov 2012-07-10 05:51:41 +01:00
parent acec9da95c
commit df55de5b3d
1 changed files with 1 additions and 0 deletions

View File

@ -3804,6 +3804,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
protected void TargetOmega(SceneObjectPart part, LSL_Vector axis, double spinrate, double gain)
{
spinrate *= gain;
part.UpdateAngularVelocity(new Vector3((float)(axis.x * spinrate), (float)(axis.y * spinrate), (float)(axis.z * spinrate)));
}