Hi, I’m trying to make eyeballs for my player. The idea is that the pupils will follow the mouse cursor. They will go around inside the white part of the eyes according to the mouse input. I already know how to make them follow the mouse cursor. Just wonder how could I make them move around the center of the white part of the eyes within a certain distance. Thank you!
The best way is to create a empty object, that contains the eye image as child. If you rotate this empty object, and the eye image is not at the center of it, it has an offset, it will “rotate at certain distance”.