FPS Character with model

I've seen many example projects and tutorials for the fps style game in unity, but none of them involve having a main character with an actual model (apart from the standard capsule). Can anyone explain how I would go about setting up an fps-type player character with an actual character model? I've tried lining up the camera to a character, but then the body of the character gets in the way. . . it seems that perhaps I need a player character that would be "seen" by the enemies (and myself when I die) and a separate arms+weapon model that would be seen only by the camera during gameplay - of course, I don't know how to do this. Any help on this seemingly basic issue?

well i’ve figured it out myself how to do it. download the free character pack in the asset store. once u downloaded it put in the game and put the mouse look script in spine 2. set the script in the “y” axis. position the cam and put in on clipping planes :near = 0.001 and leave the other one alone. position him and the way you want and parent the camera to the spine 2. then parent the right and left shoulder and the neck to the camera. then click on soldier(or swat which ever one u chose)give it a mouse look script and put it the “x” axis. add character control script, character motor script, and finally FPSInput Controller Script. then u should be ready to go.

Do you actually want a character for your game? Something like a soldier for your game?
If yes you could :
-Buy(Not recommanded)
-Model it in : -Blender(I am using thsi is very good…)
-Maya(If you wnat a bledner with money…:slight_smile:
-Cinema 4d (for good animation (awesome if want cartoons)
-Orc Maker(if want orc)
-Reel(of pro)
-3DS Max(if want normal soliders with high graphics good quality so on…)
Hope it helps :slight_smile:

I tried to create a character in this tutorial - YouTube and it works great. In the midst of the spine will place empty object (lock) + Mouselook script and then the bone underneath the upper body. The problem is that the bone located under lock object loses its animation (eg reload, fire). Other bones works perfectly. how to get animation to work well under this object?

será que ninguem sabe fazer um FPS com personagem só tem tutoriais com a capsula, ou o pessoal tem medo de passar o seu conhecimento para as outras pessoas.

Its actually really simple. Use render layers! I dont quite know how to set it up for multiplayer, but for being able to see yourself after you are shot it would be something like this:

You have two layers, an fps layer and a tps layer. set the fps weapon to the fps layer and the tps model to the tps layer.
You start with the camera always ignoring the tps layer. Then when the player is shot, you have the script change it to view the third person layer and ignore the first person layer.

I was able to add the FPS components to my character model by first:

1.) On menu bar select Assets → Import Package → Character Controller

2.) Add the MouseLook script to the model (Component → Camera-Control → Mouse Look)

3.) Set the mouse look to use LookX. (You want to only turn character but not tilt it)

4.) Add FPSInputController script to the model(Component → Character → FPS Input Controller )

5.) A CharacterMotor and a CharacterController component will be automatically added.

6.) Create a camera (GameObject → Create Other → Camera).

7.) Make the camera a child of the model. Reset its transform.

8.) Add a MouseLook script to the camera.

9.) Set the mouse look to use LookY. (You want the camera to tilt up and down like a head. The character already turns.)

You can adjust the position of the camera by editing it’s Transform parameters