how to make the character look at the object and when clicked on mouse0 the object is removed with sound?(3D)

how to make the character look at the object and when clicked on mouse0 the object is removed with sound?(3D)

a certain object must be removed

Hi! Unity has method Transform.LookAt, use it in order to move your character to an object. But it will rotate you character instantly. If you want to rotate it with time you have to calculate an angle with Mathf.Atan2. For deleting object I would create a separate class, for example ObjectDeleterController and cast form them a ray and delete objects with specific tag.