Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How do I make a first person camera?

Hello. I was wondering how to make a first person camera. I have tried snapping the camera to the head bone but the camera moves with the head idle animation. That looks annoying. Is there a way how to get a still first person camera without clipping? Thanks!

Product Version: UE 4.20
more ▼

asked Nov 07 '18 at 03:39 AM in Using UE4

avatar image

115 2 3 12

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Yes, just put the camera inside the capsule at about eye height, but dead center laterally, and because the viewport given by the camera is owned by the player possessing the pawn, then ticking the OwnerNoSee checkbox on the character mesh, it should prevent any clipping since you wont see yourself including your own head.

more ▼

answered Nov 07 '18 at 06:58 AM

avatar image

3.8k 18 20 20

avatar image CODE REDBALLG Nov 07 '18 at 04:16 PM

Is there a way to make it where I can see the character because I need to be able to see some of the animations in the game. LIke my character holding a gun.

avatar image mightyenigma Nov 07 '18 at 04:28 PM

Most people create a separate mesh for the character's arms so they can see those working with the weapons etc but not clip through their body. So if you look at the Unreal engine's First Person template project you'll see their firstpersoncharacter pawn is set up that way, so that there is a separate mesh and animation set for the arms than for the body.

But if you can't or don't want to do that then you'll have to find some other clever way. You could put the camera so far forward that it never clips through the head animation, but also hopefully has its near clipping plane still inside the capsule so it doesn't clip through walls that you are very close to.

avatar image CODE REDBALLG Nov 07 '18 at 04:37 PM

Would there be a way for the character to only not see the head but can see everything else?

avatar image mightyenigma Nov 07 '18 at 05:41 PM

I think you would have to have the head use either its own mesh or have its own material slot, and hide the mesh or set the material to something invisible/transparent alpha 0.0.

I can't think of a way to do what you want without altering the setup of your meshes or materials on your character.

avatar image CODE REDBALLG Nov 07 '18 at 07:52 PM

Ok Thanks. I will try thi late in the day and tell you in a couple of hours. Thank you for your help so far!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question