I am also remaking karlson Tried it here some suggestion
-Add a Wander function to your enemy nav mesh And Make sure it always ignore walking on gameobjects with lava tag
-bake lighting
-wallrunning is scuffed change it.
-no Need of sprinting function change movement speed little high and disable sprinting
-change project name its Fps Micro . Which is demo project
Here are some improvements for wall run
CREATE THESE!!!!
| private bool wallLeft = false; |
| private bool wallRight = false; |
| RaycastHit leftWallHit; |
| RaycastHit rightWallHit; |
| private Rigidbody rb; |
| bool CanWallRun() |
| { |
| return !Physics.Raycast(transform.position, Vector3.down, minimumJumpHeight); |
}
At start get rigidbody component
Create a function called StartWallRun
| public float tilt { get; private set; } |