oops someone set individual quaternion members and forgot to normalize

inv-download
dahlia 2015-03-17 13:14:03 -07:00
parent 310e44f250
commit 83e58ebc7c
1 changed files with 1 additions and 0 deletions

View File

@ -3151,6 +3151,7 @@ namespace OpenSim.Region.Framework.Scenes
// as wrong walk speed if the camera is rotated.
rot.X = 0;
rot.Y = 0;
rot.Normalize();
}
Vector3 direc = vec * rot;