mirror of
https://github.com/opensim/opensim.git
synced 2026-07-14 03:15:36 +08:00
oops someone set individual quaternion members and forgot to normalize
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user