Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

  • 0
DarkC0der

How to make 3rd person view for the fps game?

Question

Hello everyone, first of all sorry for my english. Recently I have started creating an fps shooter game. Till now I have got a pretty good weapon handling, damaging system, but I don't know how to handle the 3rd person view (enemy view). Now I have got only an animated fps weapon with arms only, but how to make so that you can view other players full body ? And how do you sync your first person animations with third person view ?. I want exactly the counter strikes mechanics. Any suggestions ? 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

If you don't know something as small as networking a third person skin than you might want to following along with some networking tutorials that focus on the solution you'll be working with. But in a general sense:

 

//enabling and disabling meshes

if(view.isMine) disable(tpSkin);

else disable(fpSkin);

 

If you name the fps animations the same as the tps animations, just change which animation component your using in if(view.isMine), otherwise you can either sync the animation state in the solution SyncView function or you can add a ton of isMine checks to determine which animation component/animation that needs to play. But it is all just general because all solutions have different ways of handling things and animation/animator components are used differently. Everything depends on what your using and how your project is setup

Share this post


Link to post
Share on other sites

  • 0
Please login or register to see this code.

So if it's true, you show arm and weapon (you). Then if it's false, you show body (other players) ++

You can find all needed information at this page :

Please login or register to see this link.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...