Hello my problem is player not shooting mouse cursor i want to make crosshair i want to shoot crosshair but not working i try diffent thing but i cant achive it. i follow unity3d tutorial. Problem Video Turning Code Code (CSharp): void Turning() { Ray CamRay = Camera.main.ScreenPointToRay(Input.mousePosition); RaycastHit floorHit; if(Physics.Raycast(CamRay, out floorHit,camRayLength,floorMask)) { Vector3 playerToMouse = floorHit.point - transform.position; playerToMouse.y = 0f; Quaternion newRotation = Quaternion.LookRotation(playerToMouse); playerRigidbody.MoveRotation(newRotation); } } Shooting Code Code (CSharp): void Shoot() { timer = 0f; gunAudio.Play(); gunLight.enabled = true; gunParticles.Stop(); gunParticles.Play(); gunLine.enabled = true; gunLine.SetPosition(0, transform.position); shootRay.origin = transform.position; shootRay.direction = transform.forward; if (Physics.Raycast(shootRay, out shootHit, range, shootableMask)) { EnemyHealth enemyHealth = shootHit.collider.GetComponent<EnemyHealth>(); if (enemyHealth != null) { enemyHealth.TakeDamage(damagePerShot, shootHit.point); } gunLine.SetPosition(1, shootHit.point); } else { gunLine.SetPosition(1, shootRay.origin + shootRay.direction * range); } } Thanks for any advice.