float h = 0.0f;float v = 0.0f; Transform thisTr; float Speed = 15.0f; void Start(){thisTr = GameObject.GetComponent();} void Update(){h = Input.GetAxis("Horizontal");v = Input.GetAxis("Vertical"); Vector3 moveDirection = (Vector3.forwad * v) + (Vector3.right * h); thisTr.Translate(moveDirection * Time.deltaTime * Speed, Space.Self);} ※ Space.Self = 로컬 좌표계 Space.World = 월드 좌표계