mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
fix llLookAt in non-physical case
This commit is contained in:
@@ -3575,13 +3575,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
if (strength <= 0.0 || damping <= 0.0)
|
||||
return;
|
||||
|
||||
llSetRot(rot);
|
||||
llSetLocalRot(rot);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strength == 0)
|
||||
{
|
||||
llSetRot(rot);
|
||||
llSetLocalRot(rot);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user