- Home /
Game menu Help
I am working on a main menu. I've been looking for some resources and tips on how to make the camera move/rotate to point to an object when clicked.
Explanation: I have a main menu with arcade, practice and options. They sit in front of the camera. To the left of where the camera is pointing, (and off the screen), I have general settings, sound settings, and video settings.
This is the start.
What I want to do: When you click on options, the camera will rotate and point to the second group of menu items (general settings etc..)
I want to do this for all of the menu items.
I was thinking I could use a lookat function, but then not sure what to attach it to plus i need to add the mouse/keyboard interaction. Any help would be great!
Thanks!!
either javascript or c# So far the other scripts we've been working with have been javascript, but which ever works best..
Check out the iTween Script for the animations...you can move camera using those scripts.....check out the iTweens page its really awesome
Answer by henry96 · Jul 18, 2012 at 06:59 AM
iTween is very useful when it comes to smoothing moving or rotating like this.
iTween Link and here is videos demonstrating what iTween can do.
Good Luck!
Your answer
