Commit 55c3a36a authored by radow's avatar radow
Browse files

two small fixes

parent 9b7d88d3
......@@ -4322,7 +4322,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1070548751}
m_LocalRotation: {x: 0.7071022, y: -0.0025681257, z: -0.0025680976, w: 0.7071021}
m_LocalPosition: {x: 0.031, y: 1.836, z: -7.784}
m_LocalPosition: {x: -0.034, y: 1.836, z: -7.784}
m_LocalScale: {x: 0.041533194, y: 0.24384032, z: 0.35266033}
m_ConstrainProportionsScale: 0
m_Children: []
......
......@@ -57,7 +57,7 @@ public class PlayerController : MonoBehaviour
velocity.y = (tryJump && isGrounded) ? jumpVelocity : rb.velocity.y;
rb.velocity = velocity;
if (firstFrames && Mathf.Abs(Input.GetAxis("Mouse X")) > .5f) firstFrames = false;
if (firstFrames && Mathf.Abs(Mathf.Abs(Input.GetAxis("Mouse X"))) > .5f) firstFrames = false;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment