Open CoderAkshat227 opened 3 years ago
There is an easy fix i put the orientation and the player camera inside the Player Game Object Remove The Camera From The Player And Copy This Code Into A C# Script And Name The Script CameraController And Put The Script Onto The Camera
using UnityEngine;
public class CameraController : MonoBehaviour {
public Transform Player;
private void Update () {
transform.position = Player.position;
}
}
Hey so my gun(cube) is resizing when I crouch, but in your tutorials it doesnt. ANY WAY I COULD FIX THAT?