Tag Info

New answers tagged

0

You might be able to determine the angle between the player's forward direction and the camera's forward direction and add that amount to playerFacingDirection. float angleToAddToPlayerFacingDirection(Matrix view, Matrix playerFacingMatrix) { Matrix camWorld = Matrix.Invert(view); Vector3 camForward = camWorld.Forward; camForward.Y = 0; ...



Top 50 recent answers are included