- Home /
Menu Movements Quetion!
Right, first off im going to try and explain whats in my scene so you might understand a little better.
All my scene has at this time is a gun, M16A to be exact! My first part of the 3d menu is on the shoulder part of the gun (Back End) which is "Play Game" "Options" "Credits" "Quit Game" ect ect. The options part of the 3d menu will be on the clip of the gun, "Volume" "Screen Size" ect ect. The Quit Game menu (Are You Sure You Want To Quit "Yes" "No") will be shown on the barrel of the gun.
Not sure where i want the credits to be shown as of yet.
But my question is how do i make it so if lets say you click options (Which is on the shoulder part of the gun) the camera will move around the gun untill it reach's the options menu which is shown on the clip. Same with credits and quit.
Thank you in advance
Dave
This has also been posting in unity forum --> http://forum.unity3d.com/threads/146189-Menu-Movements-Quetion!
Answer by jimmyismike · Aug 03, 2012 at 10:49 PM
You like elite squad game to? :P Its pretty fun. To do something like this you can either do it in multiple scenes which I dont recommend or you could do it with animations which I do recommend. As for the script of the animation just search Camera Animation Trigger Or something along those lines. I'm sure you will find something.
lol yeah i love that sort of menu, looks really cool, and for you saying search "Camera Animation Trigger" i searched it and guess what? the first one was what i was looking for. You've just saved alot of time and stress, i thank you
Answer by reptilebeats · Aug 03, 2012 at 11:30 PM
i have something similar but my camera moves around a room, i use animation and animate the camera movement into one single animation and then use animation events to pause the animation.
when animating you will have to make sure there is an animation back to the title screen from which ever menu is selected this way the camera won't pan to other menus. at each event you will only need a small amount of code one to pause the animation and to show the menu. and maybe start another script with the controls in it.
either way i would recommend animation as its the simplest method i can think of
also do not spend to much time making a title menu, i think i spent a week making a room with a desk window with lights baked onto the floor, waste of time but got carried away.
and if you go to over the top you end up with something that looks good like ghost reckons menu, but is just annoying after a couple $$anonymous$$utes when it takes twenty $$anonymous$$utes to even load a gun up
i found out how to do it now with only 3 lines of code, works like a dream, my menu has around 12 things total including scripts so should'nt be to slow to run but thank you :)
yh i was mainly moaning about ghost reckons menu system thats just made to look cool, but is actually pointless
Your answer
Follow this Question
Related Questions
Menu Movements 1 Answer
abit of a noobie question here 1 Answer
Menu Options 1 Answer
link to open website 1 Answer
A node in a childnode? 1 Answer