oops someone set individual quaternion members and forgot to normalize
parent
310e44f250
commit
83e58ebc7c
|
@ -3151,6 +3151,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
// as wrong walk speed if the camera is rotated.
|
// as wrong walk speed if the camera is rotated.
|
||||||
rot.X = 0;
|
rot.X = 0;
|
||||||
rot.Y = 0;
|
rot.Y = 0;
|
||||||
|
rot.Normalize();
|
||||||
}
|
}
|
||||||
|
|
||||||
Vector3 direc = vec * rot;
|
Vector3 direc = vec * rot;
|
||||||
|
|
Loading…
Reference in New Issue