How To Set Up The Ultimate True First Person Camera in Unreal Engine 5

Sdílet
Vložit
  • čas přidán 23. 07. 2024
  • In this short and easy-to-follow tutorial I'll show you how to set up the ultimate true first-person camera in Unreal Engine 5. If making True First-Person games interest you, I highly recommend checking out my series on How To Make A True First-Person Shooter in Unreal Engine 5 - • How To Make A True Fir...
    Patreon: / mizzofrizzo
    Subreddit: / mizzofrizzo_tutorials
    Facebook: / 884349679908510
    Timestamps:
    0:00 - Intro
    0:47 - Project Creation
    1:01 - Camera Set-up
    2:05 - Using Camera Input to Rotate Character's Spine Bones
    4:49 - Make Changes to the Animation Blueprint
    9:17 - Demo and Outro
  • Hry

Komentáře • 149

  • @mb.3d671
    @mb.3d671 Před 11 měsíci +8

    This is actually amazing you did this for free. Thanks! Keep it up the series is sick

  • @MichaelEmbers
    @MichaelEmbers Před 10 měsíci

    soooo goooood! These are truly amazing

  • @x64.graphics
    @x64.graphics Před rokem +3

    awesome tutorial. I think you have the pacing figured out. Love to see more!

  • @AntonStunts
    @AntonStunts Před 2 měsíci

    Thank you so much been looking for this one

    • @PitchforkAcademy
      @PitchforkAcademy  Před 2 měsíci +1

      I updated it:
      czcams.com/video/fnk4snQyWVY/video.html 🙂

    • @AntonStunts
      @AntonStunts Před 2 měsíci

      @@PitchforkAcademy wOW tHANKS

  • @astralstormgamestudios1259
    @astralstormgamestudios1259 Před 7 měsíci +3

    Hi! Btw, you could add a head stabilization inside the control rig BP to make the head constrained, that way we could still use full body animations without motion sickness 😉🤝

  • @pcz6637
    @pcz6637 Před 6 měsíci

    what'up,awesome!I like it,thank you~

  • @LeateqOfficial
    @LeateqOfficial Před měsícem

    Thanks you so much for helping with ue 5.4 animation sample rotation bug i had

  • @amdtawit9445
    @amdtawit9445 Před rokem +3

    hi! thanks for the tutorial, works really well. I am using spring arm to make rotation camera lag, but it makes problem that controller rotation yaw doesn't work properly, so character can run in 4 dimensions and can't rotate. Do you have any ideas how I can fix that, so player can rotate camera(right/left) and also when player press movement input character goes in the direction the camera is facing?

    • @PitchforkAcademy
      @PitchforkAcademy  Před rokem

      I recommend posting some recordings from PIE and screenshots of your code in the facebook group "Unreal Engine Developers Community" and ask for advice there.

  • @TheChosenJuanLopez
    @TheChosenJuanLopez Před 5 měsíci

    Great tutorial and very easy to follow along with, but I am experiencing a weird side affect of this, my characters animation reaches the max looking up or down distance before my camera, so while my character is fully looking up, I still have to move my mouse slightly further up for the camera to finish catching up.

  • @ImIrish
    @ImIrish Před rokem +1

    Hey, this looks very interesting, I'll definitely go through the steps in this video later down the line, Added it as a bookmark.
    But also is this easily implemented if you wanted to bind a key press to go between 1st person view to 3ed person view?

    • @PitchforkAcademy
      @PitchforkAcademy  Před rokem

      You could set it up to switch cameras easily enough, but we won't be using aim offset for this one so setting it up as a functioning 1st and 3rd person shooter is another story. What you do with what you learn here is down to you, my man. 🤘

  • @jonhman2523
    @jonhman2523 Před rokem +1

    awesome tutorial

  • @Bluemaze64
    @Bluemaze64 Před 4 měsíci +1

    Great vid, but I would love to see how this would be implemented in Control Rig for the Mannequin Body with the built in Neck IK set to true. I think it might be a more efficient solution?

  • @miken1299
    @miken1299 Před rokem +1

    I’m new to unreal, whats the purpose of starting with the third person template rather than the first person template? Is it just so you have the full model of the mannequin? Aside from the camera angle is there any other differences from the first to third person template?

    • @PitchforkAcademy
      @PitchforkAcademy  Před rokem +2

      For the full character model and animations. The FP template only has a floating pair of arms...

  • @Rev0verDrive
    @Rev0verDrive Před 4 měsíci +1

    I take it you are Lerp -> set relative location for crouch and prone situations. Again for server you'll need to use base aim rotation, for the ptich/yaw of head movement vs control rotation. On top of that you'll need to use camera manager -> get camera location for the literal location on the server.

  • @DINNKA
    @DINNKA Před 3 měsíci

    Great tutorial! But I ran into a problem where if you look down and then look forward, the character looks up a little bit. Do you have any idea how to fix that?

    • @PitchforkAcademy
      @PitchforkAcademy  Před 3 měsíci

      Try the updated version:
      czcams.com/video/fnk4snQyWVY/video.html

  • @shubhabrotapal4709
    @shubhabrotapal4709 Před měsícem

    How to fix this weird camera jagging and jumping issue when playing different animations like how to make this stable

    • @PitchforkAcademy
      @PitchforkAcademy  Před měsícem

      By looking at my updated video:
      czcams.com/video/fnk4snQyWVY/video.html 👍

  • @dracou23
    @dracou23 Před 4 měsíci

    works good but when I slightly move up or down it just stay there - plus the neck gets stuck on sides as well...

  • @OmethSemitha
    @OmethSemitha Před 3 měsíci

    your previous tutorial that change manniquin to metahuman Great but when i try that metahuman bp to this and when i try to change parent socket it says " cannot change socket on inherited component

    • @PitchforkAcademy
      @PitchforkAcademy  Před 3 měsíci

      If you want to play around more with a metahuman I'd recommend setting one up from scratch as shown in this video:
      czcams.com/video/-tMxadBifpM/video.html :)

    • @PitchforkAcademy
      @PitchforkAcademy  Před 3 měsíci

      Also I have an updated version of this True First-Person video:
      czcams.com/video/fnk4snQyWVY/video.html 😁

  • @NoobahSteve
    @NoobahSteve Před 7 měsíci +1

    New Sub here! this is truly amazing! i was wondering if there is anyway to fix the WASD movement with this because it feels loose and wonky to try and control the character using WASD While turning the head with the mouse. Look forward to more of your videos!

  • @marlex4508
    @marlex4508 Před rokem

    thanks!

  • @MilkGGs
    @MilkGGs Před 11 měsíci

    am i able to tie this with your fps series or do you mention this in further videos in the series

    • @PitchforkAcademy
      @PitchforkAcademy  Před 11 měsíci

      I would recommend just follow the TFPS series because we go through this plus much more. This video is more just for a very quick play around for absolute beginners. 🙂

  • @astralstormgamestudios1259
    @astralstormgamestudios1259 Před 7 měsíci

    I was wondering one thing. I would like to use a bool to activate the spine rotation, how would I go about that? Like holding the right mouse it activates the spinal rotation.

    • @PitchforkAcademy
      @PitchforkAcademy  Před 7 měsíci

      Just set the bool as true on right mouse button then use it as the condition on a branch before set pitch, then on false you can use an finterpto to bring the pitch back down to 0.

    • @astralstormgamestudios1259
      @astralstormgamestudios1259 Před 7 měsíci

      @@PitchforkAcademy thanks a million!!

    • @PitchforkAcademy
      @PitchforkAcademy  Před 7 měsíci +1

      @astralstormgamestudios1259 You're so welcome, my guy. Thanks for watching and thanks for engaging. 🫶

    • @astralstormgamestudios1259
      @astralstormgamestudios1259 Před 7 měsíci

      Fixed it! @@PitchforkAcademy

  • @ENTHUSIAST_UE5
    @ENTHUSIAST_UE5 Před 9 měsíci +1

    Hi, very cool guide, short and clear. but there is one old problem, I will be very grateful if you help. If you move backwards in first-person view, then when you change the rotation angle (YAW), the animation jerks (apparently it restarts when you change the rotation angle 0->360). I will be very grateful if you help!

    • @PitchforkAcademy
      @PitchforkAcademy  Před 9 měsíci

      Yeah I know what you're referring to. I've tried to smooth it out before without success. I'll be redoing videos like this one once a year; next time I'll try to step it up a notch. 😉

    • @ENTHUSIAST_UE5
      @ENTHUSIAST_UE5 Před 9 měsíci

      @@PitchforkAcademy I've been struggling with this problem for a long time) thanks for such a quick answer. Good luck!

    • @MarioCola
      @MarioCola Před 8 měsíci +1

      Uncheck orient rotation to movement in the BP character movement (bottom section of the viewport Window)

    • @apagamedev
      @apagamedev Před 5 měsíci +1

      @@MarioCola great, thx mate

  • @greenfyre95
    @greenfyre95 Před rokem

    Will you do a tutorial on leaning with a true first person camera setup?

    • @PitchforkAcademy
      @PitchforkAcademy  Před rokem

      Yes! If you follow my True FPS tutorial series I will eventually include leaning. 😁
      czcams.com/video/6ATprCYty-Y/video.html

  • @LeateqOfficial
    @LeateqOfficial Před měsícem +1

    could you make the same tutorial but with a new ue 5.4 animation sample ?

    • @PitchforkAcademy
      @PitchforkAcademy  Před měsícem

      I wanted to, but it's trickier than I thought it would be...

    • @LeateqOfficial
      @LeateqOfficial Před měsícem

      @@PitchforkAcademy yeah, i've been trying to figure out how to make that character turn when you turn the camera for the past 4 days, i just can't find a solution anywhere, everything looks great but when you just stand and turn, your head is spinning 360

    • @PitchforkAcademy
      @PitchforkAcademy  Před měsícem +1

      @LeateqOfficial Oh I figured that out. Just disconnect the 'update camera' function, disconnected 'set wants to aim', and set wants to aim variable as true by default. Let me know how you go.

    • @LeateqOfficial
      @LeateqOfficial Před měsícem

      @@PitchforkAcademy it worked ! omg thank you so much !
      Last question i had, i implemented some roll animations when character jump over the object, and for some reason the camera is not following this animation, it looks like it stays at the same place, i know it's a hard question and probably need to look at the project but maybe you have an idea what can be done (I'm super new to unreal)

    • @PitchforkAcademy
      @PitchforkAcademy  Před měsícem

      @@LeateqOfficial You need to delete the spring arm and attach the camera directly to the head. There might be a setting in the spring arm that would do it but I'm not sure.

  • @Kevin-bz6fs
    @Kevin-bz6fs Před 5 měsíci

    Thanks for the tutorial, it’s really cool. Too bad there are tremor problems when going backwards or going from left to right, that makes this method unusable. Additionally, I have a problem where I can only move the camera from left to right.

    • @PitchforkAcademy
      @PitchforkAcademy  Před 5 měsíci +1

      That's all taken care of in my new updated method:
      czcams.com/video/fnk4snQyWVY/video.html

  • @KairtzEdits
    @KairtzEdits Před 11 měsíci

    very good tutorial, but i am encountering some issues after everything is done, the character movement is weird becasue you look around with the camera to different direction, the character will continue going straith instead the direction you looked at. any ideas how to fix this issue?

    • @PitchforkAcademy
      @PitchforkAcademy  Před 11 měsíci

      It's a feature of this set up. You could try using an FInterp To to bring Yaw back towards zero, maybe when you move your character...

    • @KairtzEdits
      @KairtzEdits Před 11 měsíci

      @@PitchforkAcademy thanks for your advice, is there any chance that you make an “extension” tutorial video to this one how to achieve it ?

    • @PitchforkAcademy
      @PitchforkAcademy  Před 11 měsíci

      @@KairtzEdits I'll definitely look into doing that for you. No promises, but I'll look into it. 🙂

    • @KairtzEdits
      @KairtzEdits Před 11 měsíci +1

      @@PitchforkAcademy thank you very much 🫡

  • @That_Italiano
    @That_Italiano Před 6 měsíci

    So I love the free video for helping me make a True First Person character. However when I move around in the level with walking where I look doesn't make the player character go in that direction due to the whole body not changing the way it is looking. So I was wondering if you knew how to fix that, as I am not good with animations and things like this.

    • @PitchforkAcademy
      @PitchforkAcademy  Před 6 měsíci

      This video is basically just for beginners who want to start messing around. Keep learning and you'll find ways to achieve what you want to achieve... 🫶

    • @PitchforkAcademy
      @PitchforkAcademy  Před 5 měsíci

      @@apagamedev Look up interpolation and set it up to interp yaw back to zero when you start moving, something like that. 🤙

  • @Gokword
    @Gokword Před 6 měsíci

    Hey, there's a problem! If we are next to the wall and we lean over, you can see through the wall! I can't solve this problem! Help me! If you can't help me on CZcams, I published a thread in the Unreal Engine Dev Forum, "How do I solve the camera collision problem?" about the camera. Thank you! 🤙👊

    • @PitchforkAcademy
      @PitchforkAcademy  Před 6 měsíci

      Increase the radius of your character's capsule component.

  • @beniilo7248
    @beniilo7248 Před 11 měsíci

    this it great and all but how can I reduce the head bobing?

    • @PitchforkAcademy
      @PitchforkAcademy  Před 11 měsíci +2

      I might be releasing a follow-up video, an extended version with more features and possibly some reduction of the head bobbing. Stay tuned bud. 🤟

    • @beniilo7248
      @beniilo7248 Před 11 měsíci

      @@PitchforkAcademy looking forwrad to seeing the video :D

  • @QuantumSpaceToaster
    @QuantumSpaceToaster Před 3 měsíci

    Is there any way to make it smoother? It seems like it's rotating in increments larger than a pixel.

    • @PitchforkAcademy
      @PitchforkAcademy  Před 3 měsíci

      I recorded a new version of this video. It's much smoother!
      czcams.com/video/fnk4snQyWVY/video.html

    • @QuantumSpaceToaster
      @QuantumSpaceToaster Před 3 měsíci

      @@PitchforkAcademy Thanks, but unfortunately I tried that out and it still doesn't work. It is smoother regarding animations, but unfortunately not looking around. It still moves in large increments causing a bit of a stutter.

    • @PitchforkAcademy
      @PitchforkAcademy  Před 3 měsíci

      @@QuantumSpaceToaster Just when you move the mouse and look around?

    • @QuantumSpaceToaster
      @QuantumSpaceToaster Před 3 měsíci

      @@PitchforkAcademy Yes.

    • @PitchforkAcademy
      @PitchforkAcademy  Před 3 měsíci

      @QuantumSpaceToaster That's really weird, man. No idea why that might be happening. As you can see in my video, it works perfectly.

  • @SportsHQ4128
    @SportsHQ4128 Před rokem

    Thank you so much but it seems the camera is way too shaky and seems to hurt my eyes and won provide a clear view for the player is there a way to make the camera shake less intense, I dont have expierence with ue5 that is why i am asking.

    • @PitchforkAcademy
      @PitchforkAcademy  Před rokem +1

      Yes it does move around a lot because of the animations. I recommend following my True FPS series, because in Part 2 we use Layer Blend Per Bone to start creating our own upper-body animations (far less shaky).
      czcams.com/video/6ATprCYty-Y/video.html

    • @SportsHQ4128
      @SportsHQ4128 Před rokem

      @@PitchforkAcademy Thank you so so much

    • @PitchforkAcademy
      @PitchforkAcademy  Před rokem +1

      @@SportsHQ4128 You are so welcome, my dude. Thanks for watching! ✌️

    • @SportsHQ4128
      @SportsHQ4128 Před rokem

      @@PitchforkAcademy It seems that it uses first person template and i am using third person is there a way i can contact you or communicate for further support if possible

    • @PitchforkAcademy
      @PitchforkAcademy  Před rokem +1

      @SportsHQ4128 Just click "add" down in the content browser, then "add feature or content pack", and add the first person pack to your project. 🤟

  • @moinammorgen9415
    @moinammorgen9415 Před 5 měsíci

    Great tutorial! I do have one problem though. My camera only moves left and right but not up and down. I followed the tutorial multiple times but it still doesnt work. Do you have any idea why?

    • @PitchforkAcademy
      @PitchforkAcademy  Před 5 měsíci

      I have no idea why. I've confirmed the method in this video many times, including on the latest version of the engine.

    • @moinammorgen9415
      @moinammorgen9415 Před 5 měsíci

      @@PitchforkAcademy Ok thanks. Im just gonna try everything i can.

    • @rhiku117
      @rhiku117 Před 5 měsíci

      @@moinammorgen9415 ever figure it out?

    • @hexthekid1599
      @hexthekid1599 Před 3 měsíci

      did you ever figure out what happened Im struggling with the same issue??

    • @moinammorgen9415
      @moinammorgen9415 Před 3 měsíci +1

      @@hexthekid1599 I did, but I don’t know how anymore. But I know it was something from the video that I just missed. Really make sure you do everything exactly as in the video

  • @Kalebjayboss
    @Kalebjayboss Před 7 měsíci

    cant seem to get the character to look up or down, only left and right. :/

    • @PitchforkAcademy
      @PitchforkAcademy  Před 7 měsíci

      Try and try again, my friend. Let me know if you find out what the issue was!

  • @rhiku117
    @rhiku117 Před 5 měsíci

    How to fix the bobbing violently problem: go to bp3rdperson, follow camera, in details change camera options to use pawn control rotation. And now it's fixed

    • @PitchforkAcademy
      @PitchforkAcademy  Před 5 měsíci

      I have a much better solution in my new video which I'm uploading right now...

    • @rhiku117
      @rhiku117 Před 5 měsíci

      @@PitchforkAcademy alright sick sorry for blowing up comments just was super stoked I found something. But yeah can't wait to see your update

    • @PitchforkAcademy
      @PitchforkAcademy  Před 5 měsíci

      @@rhiku117 No worries at all, man. It's up... 🙂

  • @vilsujami
    @vilsujami Před 6 měsíci

    This doesn't seem to retarget directly to my metahuman character. Any ideas?

    • @PitchforkAcademy
      @PitchforkAcademy  Před 6 měsíci

      For true first-person metahuman check out my TFPS with a metahuman tutorial series. 🙂

  • @Xathian
    @Xathian Před 5 měsíci +1

    Doesn't work, followed the video step by step 3 times over and the result is always the same. When you compile at the end it spews "The property associated with Yaw could not be found in '/Game/Characters/Mannequins/Animations/ABP_Manny.ABP_Manny_C'" and the same for Pitch. It seems the character cast is refusing to work, as the little debug pop up when you drag off the "Character" pin from the Event Blueprint Update Animation chain says "Character [Unknown] Class: (Unknown)"

    • @PitchforkAcademy
      @PitchforkAcademy  Před 5 měsíci

      Okay I'll look into it as maybe in 5.3 something has changed. I might even post an update video today so stay tuned. Thanks for letting me know!

    • @PitchforkAcademy
      @PitchforkAcademy  Před 5 měsíci

      I don't know how you're getting these errors. I just verified this method in 5.3 first try... You didn't miss the changes to cast @4:59?

    • @nubboy
      @nubboy Před 3 měsíci

      You can or use "try to get pawn owner" or use "Cast to (character bp name)" and connect to "player character" "get player character" node

    • @rohanparmarscience
      @rohanparmarscience Před 27 dny

      This method is working with my bp third person

  • @NoobNoob339
    @NoobNoob339 Před rokem +1

    Dunno if anyone knows how to fix it, but if I look all the way down then start moving the camera up the body rotation seems to move faster than the camera and manny is doing the limbo when looking forward. When I look all the way up then back forward it corrects itself

    • @PitchforkAcademy
      @PitchforkAcademy  Před rokem +2

      From my experience it's always been to do with the clamp values

    • @level10gnollwarlock
      @level10gnollwarlock Před 8 měsíci

      Hi, different person but ran into the exact issue where the body bones rotate twice as fast as the camera. changing clamp values does nothing. if i look 45 degrees up the spine bones hit their collective 90 degrees. i managed to fix this by dividing the action values by 2 before routing it through the add node. i dont fully understand what goes on beneath so i cannot say why it might happen in the first place @@PitchforkAcademy @NoobNoob3399

    • @PitchforkAcademy
      @PitchforkAcademy  Před 8 měsíci

      @@level10gnollwarlock I'll set this up in v5.3 when I get home from work today and check that there's no issues with the method. I'll get back to you in a few hours. 🙂

    • @PitchforkAcademy
      @PitchforkAcademy  Před 8 měsíci

      @level10gnollwarlock I've just followed the tutorial from scratch and it works so I have no idea how you're getting that result.

    • @level10gnollwarlock
      @level10gnollwarlock Před 8 měsíci

      @@PitchforkAcademy my character is custom, notably I have a second camera to switch between first and third person. I currently can't test but could that be why?

  • @BeCrust22
    @BeCrust22 Před 5 měsíci

    MAN! is there any way to replicate spine rotation? i've spent 20 hours trying anything but achieved nothing, pls help

    • @PitchforkAcademy
      @PitchforkAcademy  Před 5 měsíci

      Yeah I can replicate the spine rotation but with a TFP set up it breaks something else unfortunately... Anyway, I'll post a video showing how to replicate the spine rotation today (but in third person).

    • @BeCrust22
      @BeCrust22 Před 5 měsíci

      @@PitchforkAcademy thx for respond, i've succeed by sending pitch value into server an then multicast

    • @BeCrust22
      @BeCrust22 Před 5 měsíci

      @@PitchforkAcademy i would send you screenshots after 5pm cet if you'd like to share it further

    • @PitchforkAcademy
      @PitchforkAcademy  Před 5 měsíci

      @@BeCrust22 I already knew how to do it. As I said, I'll be uploading a video containing the method very soon.

  • @rhiku117
    @rhiku117 Před 5 měsíci

    not sure where i went wrong cant moe side to side mouse not working

    • @PitchforkAcademy
      @PitchforkAcademy  Před 5 měsíci

      I'm working on an updated video with a much more advanced method. Stay tuned!

    • @rhiku117
      @rhiku117 Před 5 měsíci

      @@PitchforkAcademy i figured it out after fixing the yaw, pitch wasnt working. i figured that out its in settings on many that sometimes default back to 0 not allowing movement super weird but not your fault

  • @hellfire7675
    @hellfire7675 Před 9 měsíci

    Bit confused here; this must be integrated into part 3 of the tutorial?

    • @PitchforkAcademy
      @PitchforkAcademy  Před 9 měsíci +1

      This is not part of the series. The series is in a playlist and every part is linked in the descriptions of every other part.

    • @hellfire7675
      @hellfire7675 Před 9 měsíci +1

      @@PitchforkAcademy Ooh ok. yeah, I noticed at the end of P3 because you referenced this Tutorial nodes in a separate project there with the idle animation. Was confused lol But I figured it out later. Thanks for the super cool content, honestly appreciate it :)

  • @xs8144
    @xs8144 Před rokem

    I'm a Computer scientist and I'd love to know how to make games I currently know Cybersecurity, How to make a responsive applications and websites

    • @PitchforkAcademy
      @PitchforkAcademy  Před rokem +1

      There are tonnes of free resources on how to use UE5. CZcams it, my dude!

  • @amete13
    @amete13 Před 6 měsíci

    I have just discovered this! Awesome. It would be even more awesome if I knew why it doesn't replicate:( Could anyone help?

  • @firstlast493
    @firstlast493 Před 11 měsíci +1

    I wish to see this camera in all shooters

  • @Tommyboi7566
    @Tommyboi7566 Před 10 měsíci

    I dont have all 5 spine bones

    • @PitchforkAcademy
      @PitchforkAcademy  Před 10 měsíci

      Adjust for how many you do have then. 👍

    • @Tommyboi7566
      @Tommyboi7566 Před 10 měsíci

      @@PitchforkAcademy alrighty thanks for the reply

  • @Sillyman44
    @Sillyman44 Před 5 měsíci

    followed to the letter didnt work :/

    • @PitchforkAcademy
      @PitchforkAcademy  Před 5 měsíci

      You missed something

    • @Sillyman44
      @Sillyman44 Před 5 měsíci

      @@PitchforkAcademy nope! i didnt! :)
      have a nice day

    • @PitchforkAcademy
      @PitchforkAcademy  Před 5 měsíci

      @Sillyman44 Yeah, you did. I've repeated this method many times. In the video it literally shows me making it work. You have a nice day too. 🙂

    • @Sillyman44
      @Sillyman44 Před 5 měsíci

      @@PitchforkAcademy we'll call it a draw

    • @PitchforkAcademy
      @PitchforkAcademy  Před 5 měsíci

      @Sillyman44 Hahahaha nah you missed something. 😘

  • @user-vo5dw6qe7m
    @user-vo5dw6qe7m Před 6 měsíci

    not for multiplayer :(