- Home /
Make Object move a distance from a center.
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!
Answer by tormentoarmagedoom · Sep 09, 2018 at 06:09 PM
Good day.
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".
Your answer
Follow this Question
Related Questions
Values not moving to Game Over screen or the Game over doesn't somehow work. 0 Answers
2DHingeJoints not flipping with characters localScale C# unity ragdoll 1 Answer
How to make my object bounce off the screen bounds? 1 Answer
Cannot change the value of this integer that I use for array,Cannot change the value of this one. 0 Answers
Replicating MC Redstone Wiring 3 Answers