Is it possible to use unity’s new mecanim system to create a fps shooter? I have many great ideas but I’m having trouble with the camera staying with the character while it is in motion.
3 Answers
3- YouTube, but idk how it’s done
Is it possible to use unity’s new mecanim system to create a fps shooter?
Yes, absolutely. Mecanim is a very powerful animation system, you can make some killer FPS games using Mecanim.
I’m having trouble with the camera staying with the character while it is in motion.
Head-cam, or eye-cam. Just parent the camera to your character’s head, or any bone that seems appropriate to you.
If you are doing FPS using Mecanim, you need to tweak your animations to make sure that your character’s head (or any bone the camera will be parent-ed to) stays relatively steady and level most of the time.
thanks for the feedback guys, also if you wanted to make the head not move you could use the ik rig to make it not move. Also when I parent the camera to the neck or head it says preview cam is in bad postion/rotation. Thanks!
Since we're talking about mecanim fps can you tell me in a fps with full body should I model the head? or just arms, body, legs and make a bone atached to nothing? I think head would be great for some effects like buildings mirror's.
– MadJohnyModel the whole character, for these reasons: - You can reuse it for another game - What if later you would like to extend it to a multiplayer game? You are better off with a complete model from start instead of replacing and re-tweak it halfway through the development - You got this one: mirrors To be honest, even if you have no plan for all the above reasons, just the thought of looking at a headless model in edit mode during the whole development will make you think twice on using a headless model.
– Chronos-LI actually tough on a multiplayer, ok thanks for the awser, now I just need to get a good position for my camera but in here http://www.youtube.com/watch?v=uzFSd0hurzg the camera rotates with animations, will that happen if I just parent the camera with my head? or will it look strange because the camera maybe won't rotate and because of that everything would be weird
– MadJohnyI didn't said what kind of fps it was, I want to make a fps like mirror's edge, so move is everything in the game, accuracy is not needed at all, the only weapon you will probably ahve is a glock and MAYBE a sniper further on the game, it's nothing like Call of duty or battlefield where percision is basically everything
– MadJohnyIf you like what you saw in the YouTube video, then parenting the camera to the head is the way to go. If on halfway through the development, you think that the tilting of the camera is too much for a player to handle, you can always write a script to soften the tilt of the camera.
– Chronos-L