- Home /
Other
Radial menu, gameobject follows mouse sync
I've made a lot of research on google and on answers.unity3d, but i can't find a script which I can modify without problems and work.
So here's my problem, I want to create a radial menu like this :

And the little cursor needs to follow the mouse. So rotate i think and degrees ?, but I really don't know how to do that. If someone can explain me with a code or something usefull, it's gonna be great !
Have a nice day.
Unity Answers does not write or find scripts for you. We answer your specific technical questions in order to write your own code. What you ask can be done either as a world object or as a GUI object. I've posted numerous scripts and snippets of code concerning the 2D rotation of object in world space since Unity's new 2D features were introduced. If you are trying to do it using GUI, search Unity Answers for GUIUtility.RotateAroundPivot().