Glide Camera Between First And Third Person | Smooth Transition | UPDATED - Unreal Engine 4 Tutorial

  Рет қаралды 34,847

Matt Aspland

Matt Aspland

Күн бұрын

Hey guys, in today's video, I'm going to be showing you how to toggle between first and third person in your game, and have this as a smooth transition of the camera gliding between these two locations. This is an updated bug fixed tutorial for my last one I did.
#Ue4 #UnrealEngine4 #Ue4Tutorial
___________________________________________________________________________
00:00 - Intro
00:17 - Overview
00:50 - Tutorial
18:19 - Final Overview
19:00 - Outro
___________________________________________________________________________
Unreal Engine 4 Tutorials Playlist: • Unreal Engine 4 Tutorials
The Basics Of Nodes Playlist: • The Basics Of Nodes In...
Blender Tutorials Playlist: • Blender Tutorials
___________________________________________________________________________
If you enjoy make sure to subscribe: / @mattaspland
Join My Discord Server: / discord
Follow Me On Instagram: / matt_aspland_
___________________________________________________________________________
If you want to support me, you can PayPal me at "matt.aspland.1@gmail.com". This is by no means expected or required. It is just a nice support :)
Link to PayPal: www.paypal.com/
You can also support me on Ko-Fi following this link: ko-fi.com/mattaspland
Thank you :) ___________________________________________________________________________
♫Music By♫
●Kronicle - Chill Noons
●Soundcloud - / the-chemist-10

Пікірлер: 184
@MattAspland
@MattAspland 3 жыл бұрын
Hey guys, if you have a small bug in this where the camera goes under the ground after going from first to third person (See video below for example). Then this fix will solve it for you. We just need to reset the camera's position when we switch back. So we will set the control rotation and switch the attach component to component from "Keep World" to "Snap To Target". More in-depth instructions in the reference images below. Let me know if you need any more help with this :) Video Example Of Bug: imgur.com/a/Alfy8o9 Reference Images For Fix: imgur.com/a/32GYizg
@KUNALSINGH-zk8su
@KUNALSINGH-zk8su 3 жыл бұрын
well you see there is an easy way to this...This is where you made mistake in the video at 7:50 it should be getworld transform but later in the video at 16:09 you changed it to get relative transform...
@KUNALSINGH-zk8su
@KUNALSINGH-zk8su 3 жыл бұрын
BTW there will be one more change everywhere where we have kept use controller rotation yaw bool node , just delete it.....I mean in my case when I kept it the player was not turning with camera spring arm which was causing problem so I just removed them.
@mobildisko579
@mobildisko579 3 жыл бұрын
@@KUNALSINGH-zk8su thanks this guy is dumb
@sameervakil4386
@sameervakil4386 3 жыл бұрын
@@KUNALSINGH-zk8su thanks for your help you don't have idea how happy i am thanks man
@texmurph
@texmurph 3 жыл бұрын
@@KUNALSINGH-zk8su Thank you!! This fixed my issues for me. The original provided fix of setting "Snap to Grid" on Attach Component to Component actually created a new issue for me, where the node would end up placing the camera very far away from the player. Using Get World Transform and leaving the final Attach Component to Component node on "Keep World" fixed my issue. I also ended up not using Use Controller Rotation Yaw - it ended up flipping my axis input in third person mode.
@stevenwynn819
@stevenwynn819 3 жыл бұрын
You keep finding useful topics that others haven't covered well. Great channel!
@MattAspland
@MattAspland 3 жыл бұрын
Thank you so much Steve! Really appreciate that!
@nextanvil3346
@nextanvil3346 3 жыл бұрын
Thank you so much for teaching us how it works make more of your awesome videos
@MattAspland
@MattAspland 3 жыл бұрын
No problem, always happy to help! Thank you :)
@SanjeevKumar-nq3zc
@SanjeevKumar-nq3zc 3 жыл бұрын
Big fan from india watching your video at 12 am
@MattAspland
@MattAspland 3 жыл бұрын
Thank you so much! I really appreciate that! :)
@07532136449
@07532136449 2 жыл бұрын
Hey man, Thank you for the awesome tutorial content! I had an issue where when i first started the transition it would rotate but then work correctly until i played the game again. This was fixed by removing the node from the X value on the set relative transform node. I also changed the "Get world location" node to "get world transform". Could you possibly add a tutorial on having the camera switch shoulders to face the next jump location when performing wall jumps etc? Much love man :)
@pencilgun4934
@pencilgun4934 2 жыл бұрын
I followed along with the first tutorial (and thank you very much for showing us) on a vehicle pawn not a third person character so the first thing I had to modify is just add a bool in where the mouse moves the TPP camera around and have it do a check every time to see if it can move it or not. Then when I do the transition in to first person I set that bool to "disable" the mouse movement from affecting the TPP so that was another and efficient way of dealing with the disable and enable player controller. With a pawn (not character) its not possible to disable the movement because it doesn't have a movement component. One problem I ran into is the slight "bump" when the FPP "settles" on rotation. The rotation "snaps" at the end. Have you noticed it? You see it in this version too. I have been unable to get rid of that. :-)
@es-games
@es-games 3 жыл бұрын
Very smooth, great job!
@MattAspland
@MattAspland 3 жыл бұрын
Thank you man! :)
@bigblue80studios91
@bigblue80studios91 2 жыл бұрын
HEY GUYS! If you are having the issue of the camera going from FirstPerson, back to Third Person in a funky way, go to 7:55 and make sure its "TPP REF -> GetWorldTransform -> TPPTransform". Not relative.
@danisafilthycasual
@danisafilthycasual 2 жыл бұрын
thanks, this helped me fix my issue!
@fearthesmeag
@fearthesmeag 2 жыл бұрын
Hey Matt, awesome tutorial - how would you add this into the level sequencer? As I would like to record from 1st person view while walking/running. If I hit the record animation I dont have control over my player. I can set key frames etc for the camera, but I need to control the camera and record?
@fearthesmeag
@fearthesmeag 2 жыл бұрын
Awesome tutorial Matt, as I've never touched BP - very interesting. How would I add this into a level sequence or I presume Take Record - which doesnt seem to work. As I've placed the 'ThirdPersonCharater' which is parented to the 1st & 3rd person - however playing back the sequence, there is no animation of the character/cameras?
@willmatthew4673
@willmatthew4673 3 жыл бұрын
We will keep appreciating your work my friend, no matter what happens.
@MattAspland
@MattAspland 3 жыл бұрын
Thank you so much Will, I really appreciate your support! :)
@JenkTank64
@JenkTank64 2 жыл бұрын
awesome tutorial, but how do you get this to work with the scrolling camera function? (for instance, you hit V to get to first person, and scroll down to get back to 3rd person)
@iitzraidersz4529
@iitzraidersz4529 2 жыл бұрын
If your camera goes flying out of the world, just change Get Relative Transform to Get World Transform (before the timeline).
@Damian_Alien
@Damian_Alien Жыл бұрын
Thank you!
@4relevants
@4relevants Жыл бұрын
Thank You!
@drabodows
@drabodows 3 жыл бұрын
Nice work, thanks for this. It was exactly what I was looking for...
@MattAspland
@MattAspland 3 жыл бұрын
Thanks, glad I could help out!
@redfoxsis
@redfoxsis 3 жыл бұрын
Thank you man
@MattAspland
@MattAspland 3 жыл бұрын
No problem!
@Alex00m
@Alex00m 3 жыл бұрын
Nice one bro😊👍
@MattAspland
@MattAspland 3 жыл бұрын
Thank you man!
@MrMingles
@MrMingles 2 жыл бұрын
Hey, I’m completely new to unreal engine, and these tutorials are very helpful! You got a sub!
@nagybalint1474
@nagybalint1474 3 жыл бұрын
Yesss it works now thx for the comment great video
@MattAspland
@MattAspland 3 жыл бұрын
That's great! No problem man, happy to help! Ah okay, I'm guessing you may be setting the transforms wrong, I'd say to double check your code to mine and let me know if it is all the exact same and the issue persists :)
@Dennisthesia
@Dennisthesia 2 жыл бұрын
Hey Matt, thx for the Tut, but I had some Issue when changing back to third person cam. Figured out that the Problem is at Minute 16:10 where you add the TPP Ref and a "get relative transform" Node. But actually it has to be a "get World Transform" Node (like in Minute 7:55 where you erased it). So if Anyone has some issues with the cams not chaniging back to where they should, this might be the solution!
@cinglesby
@cinglesby Жыл бұрын
what kind of issue do you mean? cause when i try and go to third person it stays in first person mode. do you know how to fix this?
@ponerme7294
@ponerme7294 Жыл бұрын
thx
@Med-B
@Med-B 3 жыл бұрын
a question how do i make the player rotate with the TPP Camera and look at the same direction when switched to FPP?
@Skeltcher
@Skeltcher 2 жыл бұрын
Omg another one XD EDIT: And thats is waaay more complex >.
@hanythabet4027
@hanythabet4027 3 жыл бұрын
Boss!
@timsonss
@timsonss 3 жыл бұрын
Bro u killing it with the tuts
@MattAspland
@MattAspland 3 жыл бұрын
Thank you! :)
@timsonss
@timsonss 3 жыл бұрын
@@MattAspland ya no problem, keep up the work pal
@kt_lavigne06
@kt_lavigne06 2 жыл бұрын
I was wondering what would need to be changed to start the game from first person and switch into third person instead of third to first like the video shows?
@abdullahsohail5395
@abdullahsohail5395 3 жыл бұрын
Nice work dude love it
@MattAspland
@MattAspland 3 жыл бұрын
Thank you man! :)
@OnrikesGames
@OnrikesGames Жыл бұрын
Good afternoon, thanks for the tutorial. Can someone tell me in which direction to dig, so as not to turn off the movement when the camera moves?
@leo_stanstudio839
@leo_stanstudio839 Жыл бұрын
Hi Matt, i've found a bug and fixed as well, as you can see the camera doesn't return to the exact position while playing the reverse timeline, that is due to the transform variable information taken before TPP has reached its final coordinates (on the spring arm component) so i fixed that by setting the TPP variable to "SET" right after the final "Attach component to component" node, and then plugging that orangy plug into the previus SET TPP right BEFORE the Reverse node of the Timeline, so now the Camera "knows" exactly where is suppose to get back, or more simply now the camera goes straight and back on it's Spring Arm! thanks for the tutorial it was been cool to make it work just fine!
@leo_stanstudio839
@leo_stanstudio839 Жыл бұрын
Nope....sorry after a few attempts i've found out that even if is better than before...isn't quite correct...i'll still look for a solution! i'll let you know
@TacticalGamingNetwork
@TacticalGamingNetwork 3 жыл бұрын
Do you know how to do this with transition to first person mesh that has the arms and gun in hand and such?
@Skeltcher
@Skeltcher 2 жыл бұрын
BUGS: There's a couple of bugs: When looking up in 3rd person the camera collides with something and get near the player head. When pressing any of the WASD keys while pressing V the camera act weirdly, sometimes spinning or being offset from the center of the character. After changing from FPP to TPP the camera resets to the ground floor.
@midstaro
@midstaro Жыл бұрын
Interesting, I came to a different solution when struggling with something similar, not sure if it's the best but... I have a "IsRunning?" not, branch. Set "IsRunning?" to true. Then SpawnActor Spectator Pawn at the current camera's transform and "Set view target with blend" to that with a 0 blend. Then "Set view target with blend" back to the characters target camera with my "blend time" float. I then proceed to destroy the spectator pawn after a delay of "blend time" +0.01, I then flag my "IsRunning?" to false. For what I'm doing I'm not using multiple cameras in the character though. However; you could probably deactivate your first person camera and activate your third person camera between the two "Set view target with blend" nodes. Since you are only setting the view target and still have possession of the original character, there shouldn't be any weirdness with controls and shouldn't have to store any locations, disable any inputs (Unless maybe on longer blend times.. depends) etc...
@Jimmybear06
@Jimmybear06 3 жыл бұрын
Hi man love your vids. By any chance could you do a video tutorial on 'how to save in different levels and load that save game in the main menu', I haven't seen a decent tutorial on how to do this and I wonder whether you could do this as you are great at explaining things. Thanks.
@MattAspland
@MattAspland 3 жыл бұрын
Hey man thank you so much, sorry for the late reply. That's definitely something I can look into yeah!
@lelandwright4098
@lelandwright4098 2 жыл бұрын
you need to re edit this without all the backstepping and changing. i had to watch this 20 minute video three times to make sure i was just seeing things.
@rodericdarkwell
@rodericdarkwell Жыл бұрын
Hi, amazing tutorial!! I have an issue tho... when I make a transition to first person I cant move the camera and it doesnt let me transition again to third person.... How can I fix this??
@CryptMhg
@CryptMhg 3 жыл бұрын
no one: Matt:*does a tutorial that every ue4 user needs* btw good video as always
@MattAspland
@MattAspland 3 жыл бұрын
Haha, thank you so much! :)
@charles8111
@charles8111 3 жыл бұрын
I have tried to follow your steps on here but go from starting in first to third and I'm having two issues one is when I am in first person if I run backwards the camera rotates and I basically am watching my character run at me, ant the other issue I am having is when I go from first to third and back to first I can't preform any actions for about five seconds and I can't figure out why that is.
@manicmillennial3287
@manicmillennial3287 3 жыл бұрын
hey matt ! Really neat video ! I've transitioned from unity to give unreal a try and I gotta say, this video is pretty great for me. Hey I have a question, is there a way I can sort of combine the transition modes from the instantaneous persp. shift toggle video you made earlier and this, so that when moving, instead of breaking the smooth transition, it sorta uses the instant perspective toggle but only while moving instead?
@MattAspland
@MattAspland 3 жыл бұрын
Hey, thanks man. I believe you are, but I just want to make sure. Have you joined my server and asked this? If not, then I can help here too :)
@GaryParkin
@GaryParkin 3 жыл бұрын
Wait until you really get into Unreal Engine. I played with Unity for a long time before I moved to Unreal. Good luck! Blueprints rock!
@manicmillennial3287
@manicmillennial3287 3 жыл бұрын
@@MattAspland Hey Matt, I had asked and you had already helped me. Thank you very much.
@musikalniyfanboichik
@musikalniyfanboichik 3 жыл бұрын
nice
@MattAspland
@MattAspland 3 жыл бұрын
Thank you :)
@Lord_Volkner
@Lord_Volkner 2 жыл бұрын
That seems WAY more complicated than it ought to be. I bet there's a much simpler way to go about doing that ... I haven't found it yet, but there must be a way.
@daniellapain1576
@daniellapain1576 2 жыл бұрын
kzbin.info/www/bejne/aHnanICcmLeArq8 here you go sir, not as nice of a transition but less chances of being buggy and it's mesh optimized
@budpeetie6879
@budpeetie6879 Жыл бұрын
I tend to agree
@146gta1
@146gta1 Жыл бұрын
hey man i loved the tutorial its really helping alot, i juts have one problem. when activate fpp the camera rotates 90 degrees how would i fix the problem EDIT: it only does it after the first toggle every other after works just fine
@tayam92
@tayam92 2 жыл бұрын
Hi, can someone help me out, been watching the video and reading the comments, helped a lot! So, thank you. But I do have a problem, when I start the game, the player view starts as though it is in the FPP when actually it behaves in the TPP. So when I clicked V once, the view maintains in the FPP and the player behaves as such. Second click on V takes the view into the TPP and the player behaves accordingly. Watched the video a few times, even the older videos. I want the player to be able to start in TPP when I start the game. How do I fix this?
@GaryParkin
@GaryParkin 3 жыл бұрын
Matt, this worked great, thank you. But how do you stop the FP camera from moving with the head? Normal FPS usually don't have that subtle movement to make the players get sick.
@MattAspland
@MattAspland 3 жыл бұрын
Thanks Gary, that's great to hear! And it will be moving with the head because of how we parented the camera to the head on the mesh. A simple way to overcome this would be to select your camera, and set the "Parent Socket" as none. But leaving it parented to the mesh. Hope this helps :)
@GaryParkin
@GaryParkin 3 жыл бұрын
@@MattAspland I tried that too, but either the head bobs into view of the camera, OR the camera sits to far forward. I might try setting the head as invisible. I think I can set it invisible to the player and not to the other players.
@MattAspland
@MattAspland 3 жыл бұрын
​@@GaryParkin Oh right okay yeah, setting it to invisible sounds good. Most AAA companies don't even include heads on the mesh if it is only first person, so that will be good. And yep you can set it so only the owner can't see it, you would select it and tick "Owner No See".
@GaryParkin
@GaryParkin 3 жыл бұрын
Matt, I'm still struggling with this. How do I select just the head of the character. I don't see any option in the Third Person Blueprint.
@AdamJanz3D
@AdamJanz3D 2 жыл бұрын
@@GaryParkin I think you would need to have the head as a separate mesh from the body in order to hide just the head. You might also be able to go to Project Settings > General Settings > Settings > Near Clip Plane and adjust the value higher than the default of 1, so that the head will be clipped when it's close to the camera.
@bobgratton2986
@bobgratton2986 Жыл бұрын
Hello Matt, im tryna make this menu where the game start and there is a camera in front of the player. In my menu im attempting to implement the cheat code where you'll be able to play the character just like black ops 1 menu. Im tryna implement the logic to go from the camera in front of the character to go back to the third person perspective one. Would you have any ideas cause im quite confused
@TheKingEsoko
@TheKingEsoko 2 жыл бұрын
Hi Matt eveything works up until I come to zoom back out from FPP to TPP and then the camera does not reverse the timeline as it should, I followed your tutorial to the letter a few times over and I am still having the same issues along with the player locking for an extended ammount of time after the camera transfers into FPP do you know why this is happening and if there is a solution to this?
@BROCKSGAMING
@BROCKSGAMING 2 жыл бұрын
i ahve a little issue i want the camera to glide between tps and ads i have gun as parent having no sockets if i follwed everything same i still cant move camera
@Drigg2000
@Drigg2000 2 жыл бұрын
Well this one was quite a journey, but I learnt a lot from it 9and it worked, eventually). Thanks.
@Don19324
@Don19324 3 жыл бұрын
Great tutorial. I have been trying to figure out how to incorporate and also use a an input like "Change Shoulder" so from left to right shoulder and cannot really figure it out yet.. Still pretty new at this stuff. Anyone have any tips? I was trying to use a branch to check if charecter is in 1st or 3rd PP ..... and if true in 3rd then it would switch to the other shoulder camera i Put in the viewport... But it just didint work.. so my brain must not be functioning properly...
@MattAspland
@MattAspland 3 жыл бұрын
Hi mate, I think you've got the right idea. If you are in third person and looking over the right shoulder, then move to the left shoulder, and visa versa. I assume you've got it all close just maybe missing some technical fixes. I can add this to my list, and maybe take a look at your code in the meantime if you'd like some help? :)
@JandenHale
@JandenHale Жыл бұрын
Looks cool, but for me personally I'd rather just toggle instantly between cameras like the last video instead of interrupt playing just to watch the camera move.
@Majestic_Graphics
@Majestic_Graphics 2 жыл бұрын
+Matt Aspland, Hi there... this video helped a lot i was able to replicate your steps in my project & can switch cameras, also i set up an idle cam from your videos so again i THANK YOU! however, i have a small problem,.. When following your TPP & FPP video, my female character has an idle animation where she sways from side to side, so when i switch to FPP the camera does not follow, so im wondering how do i switch the idle animation to another idle where she is still when switching cameras ??
@MrShadow-ol1eo
@MrShadow-ol1eo 2 жыл бұрын
I have the same problem
@cainsmith9605
@cainsmith9605 10 ай бұрын
I try to use this in multiplayer, and while I was walking backward, the other player sees me walking forward but in the opposite direction instead. How do I fix this? I tried it as Play as listen server.
@cinglesby
@cinglesby Жыл бұрын
Can toggle the camera to enter first person mode but it wont allow me to toggle back to third person?
@isaaclanier1507
@isaaclanier1507 3 жыл бұрын
Hey Matt, is there a way to make it so walking through a trigger box causes it to activate, then moving back causes it to deactivate? Thanks
@MattAspland
@MattAspland 3 жыл бұрын
Hey man, absolutely. What you could do is in the level blueprint, get the begin and end overlap events for the box trigger. Off of begin overlap, cast to your character and call the function for changing the camera perspective, and the same for end overlap. If it isn't a function, you can right click and add a custom event at the start of the camera changing code. Hope this helps :)
@isaaclanier1507
@isaaclanier1507 3 жыл бұрын
@@MattAspland thank you so much for the quick reply, I’m gonna go try and see if I can figure it out right now. Thanks so much!
@MattAspland
@MattAspland 3 жыл бұрын
@@isaaclanier1507 Sounds great man, good luck! :)
@hyunsulee1212
@hyunsulee1212 Жыл бұрын
Can you move freely like an empty file start?
@iRobert
@iRobert Жыл бұрын
Can u make this tutorial for UE5 pls? :)
@zuleroosty2622
@zuleroosty2622 3 жыл бұрын
So i just watched your first tutorial... then i found this one lol But when i change to third person the camera rotates around the player instead of locking into place. Hard to explain without showing. Do you have a plugin maybe that aids this as i followed every step along the way?
@_gavimations
@_gavimations 3 жыл бұрын
Same here
@ImMattHuey
@ImMattHuey 3 жыл бұрын
this happened to me too but then i rewatched the video and noticed that I had a couple things wrong
@invaderjay
@invaderjay Жыл бұрын
What was the point of creating the Camera Manager?
@SenEmChannel
@SenEmChannel 2 жыл бұрын
does anyone succeed, when i press V camera go far too long. i try to find another solution
@crimsontyrs
@crimsontyrs 3 жыл бұрын
Hey Matt I followed you tutorial and its all good except when I transition from FPP to TPP the camera doesn't go back to the TPP where did I screw up?
@crimsontyrs
@crimsontyrs 3 жыл бұрын
Hey Matt I got it working so no worries!! Thanks, for the awesome tut.
@MattAspland
@MattAspland 3 жыл бұрын
Hey, no worries glad you got it sorted. This one is a little bit more complicated :) Thank you, glad you enjoyed it, and well done! :)
@reaperzx3ify
@reaperzx3ify 3 жыл бұрын
@@crimsontyrs how did u fix the problem when i try to switch back to TPP for FPP it goes to like the middle off the map
@reaperzx3ify
@reaperzx3ify 3 жыл бұрын
i see
@gamerweed6949
@gamerweed6949 3 жыл бұрын
@@reaperzx3ify did u fix it?
@Legend64Project
@Legend64Project 2 жыл бұрын
Is it possible to use smooth camera transitions without stopping the player from moving?
@Legend64Project
@Legend64Project Жыл бұрын
There is literally a disable input node right at the start of the code! He then reenables the input once the transition is complete
@anuj96sharma
@anuj96sharma 3 жыл бұрын
update* there is already inbuilt function to do these its "set view target with Blend " probably that in come in recent updates not sure was before please make video using that function
@MattAspland
@MattAspland 3 жыл бұрын
Hey mate, that is a great node to utilise and would make this system 100x easier with minimal amounts of code. However, that node is unfortunately only going from one actor to another, not between different camera components in the same actor. So it wouldn't work in this context I'm afraid. Great idea though, if you'd like an example of where I've used it, check out this video where I create a system to hide in a locker. We use the node to go from the player actor, to the locker actor, to switch the views. Hope this makes sense :) kzbin.info/www/bejne/nXmtZaN-odZ0sLM
@nagybalint1474
@nagybalint1474 3 жыл бұрын
7:50 in the end he changed that and got me to change it too but that's wrong the camera isn't getting transformed than and it won't follow you so keep it as it is at 7:50
@MattAspland
@MattAspland 3 жыл бұрын
Yeah that's what I meant when I wrote on screen to leave it as it was. It is something which I fixed and edited in. Thanks for solidifying this knowledge for others though.
@willmatthew4673
@willmatthew4673 3 жыл бұрын
Thank you so much, i was finding it difficult to keep the camera in place but your comment helped me out.
@kikotheham1751
@kikotheham1751 2 жыл бұрын
why does my camera go to MyPC instead of the third person?
@stcg21
@stcg21 12 күн бұрын
Hi! The tutorial is still relevant on UE5.4, but there are some errors. After turning on the first-person camera, the third-person camera returns incorrectly. Firstly, it is not so smooth but sharp, one frame, and secondly, the location of the camera from the third person and its orbit are lost. What could be the problem, please tell me?
@stcg21
@stcg21 12 күн бұрын
UPD. I added a fix from the pinned comment, but that didn't help solve the error either.
@stormr
@stormr 3 жыл бұрын
This works perfect after some adjustments. But it doesn't work on a packaged game. Any suggestions? I really wanted to let my buyers be able to switch between third and first person. but in packaging it freezes the camera in position and i can see the player character walk around in front of it. I need help. My game is releasing in a week.
@MattAspland
@MattAspland 3 жыл бұрын
Hi, I've just packaged my version and it worked the exact same with no bugs. So you said you made some adjustments, that might what is breaking it? What did you change? Good luck with your game launch though :)
@stormr
@stormr 3 жыл бұрын
Only thing i changed was bringing it a little more forward and lined it up with the characters face so the player can see more of the characters body
@MattAspland
@MattAspland 3 жыл бұрын
@@stormr Ah right okay, and everything else is the exact same as mine? If so, it may be something else breaking your code?
@stormr
@stormr 3 жыл бұрын
@@MattAspland I figured out in the code i used a reference to cameraboom instead of follow camera, then copied it over twice more haha. works great now.
@MattAspland
@MattAspland 3 жыл бұрын
@@stormr Ah great news! Glad you got it working, nice work!
@semmert
@semmert 3 жыл бұрын
I've double checked all the work, and it just doesn't seem to work properly. When I hit V the first time, it transitions in to FPP, but when I hit it again, the camera flies out away from my guy about 4-5x the default TPP distance, then snaps back to the default location. Any ideas?
@disruptor3654
@disruptor3654 2 жыл бұрын
Same here Its cool bug looking and playing like that with like top side view but it is not result we wanted :D
@mirapakulinek
@mirapakulinek 3 жыл бұрын
how add this setting to my menu ,how create button with switch camera?
@MattAspland
@MattAspland 3 жыл бұрын
Hi, if you want a basic third to first person to set via a main menu. You can watch this video and maybe set it dependant on a Boolean which you set in the menu. kzbin.info/www/bejne/hqjLeJ5rm7h8oMk
@voltaris4796
@voltaris4796 3 жыл бұрын
hello Matt it's a very nice tutorial but i have a problem the first person camera run correctly but the TPP go under the map - -' i need help x)
@voltaris4796
@voltaris4796 3 жыл бұрын
oups my bad i dont see the fix x)
@MattAspland
@MattAspland 3 жыл бұрын
Hey mate, no problem, glad you saw it, did it help? :)
@voltaris4796
@voltaris4796 3 жыл бұрын
@@MattAspland hi, so yes it helped me a bit but I still have a problem with the TPP camera. basically the camera moves to the center of the map and then it teleports behind my character
@voltaris4796
@voltaris4796 3 жыл бұрын
and sorry my english is not perfect I hope not to say too much nonsense
@Naryeth7
@Naryeth7 3 жыл бұрын
@@voltaris4796 I have exactly this same problem
@Smoke2ThinkOn
@Smoke2ThinkOn 3 жыл бұрын
...what the hell is going on. between 7:38 and the "set active" Shows a reference to FPP Camera, at 7:39 this changes to TPPRef Camera with no explanation. 7:54 this changes back to FPR camera with a note about keeping what we just did... what the hell does this mean?, keep the 'set active' target as TTRef Cam attached to 'set TPP Transform' and not connect 'get relative transform' from flip flop A to the set tpp transform in flipflop B?
@Smoke2ThinkOn
@Smoke2ThinkOn 3 жыл бұрын
Okay, it was an editing error maybe? after watching a few times i got this working. Thanks for the tutorial.
@MrShadow-ol1eo
@MrShadow-ol1eo 2 жыл бұрын
I have all the code but when zooming in, it only zooms in like 25% of the way and then immediately jumps to first person, how can I fix this
@MrShadow-ol1eo
@MrShadow-ol1eo 2 жыл бұрын
Nevermind, the error was due to my float track coordinate not saving the x value so it was (0.19,1) instead of (1,1)
3 жыл бұрын
why is not it famous?
@MattAspland
@MattAspland 3 жыл бұрын
Ha thank you so much man!
@_gavimations
@_gavimations 3 жыл бұрын
I followed (I think) everything in the video, but my character, upon pressing V, disappears from view, and the camera gets lodged in the ground. Pressing V again returns me to third person, but with incredibly strange camera controls (up and down with the mouse rotates the camera's X axis). There is also no transition between these states, they happen instantly :0
@sashabolsunovsky2902
@sashabolsunovsky2902 3 жыл бұрын
Did you find a solution to this? I have the same problem
@_gavimations
@_gavimations 3 жыл бұрын
@@sashabolsunovsky2902 Nope. Still waiting for the guy who uploaded to respond, since I'm a complete noob with Unreal Engine, lol
@jorgeizquierdo2302
@jorgeizquierdo2302 3 жыл бұрын
At minute 7:45, make sure the node is "GetWorldTransform" and not "GetRelativeTransform", that's what happened to me. Google Translator, sorry
@sashabolsunovsky2902
@sashabolsunovsky2902 3 жыл бұрын
​@@jorgeizquierdo2302 Thank you so much this works
@jorgeizquierdo2302
@jorgeizquierdo2302 3 жыл бұрын
@@sashabolsunovsky2902 For nothing .I'm glad I was able to help :)
@OyunZinciri
@OyunZinciri 3 жыл бұрын
I did everything you say, but pressing the v key directly locks the character. everything around me is moving. Help me . Thank you.
@MattAspland
@MattAspland 3 жыл бұрын
Hey, what do you mean by everything else around you is moving?
@OyunZinciri
@OyunZinciri 3 жыл бұрын
@@MattAspland I added Npc. They are moving. I did everything in the video, but when I press the v key, the character locks. Where did I go wrong?
@OyunZinciri
@OyunZinciri 3 жыл бұрын
@@MattAspland thanks i found a solution.
@MattAspland
@MattAspland 3 жыл бұрын
@@OyunZinciri That's great, no worries
@fkmeta3479
@fkmeta3479 3 жыл бұрын
whenever i move forwards while crouching and press Lctrl to crouch again, it shows my character crouching but the movement is if I were running, any help?
@MattAspland
@MattAspland 3 жыл бұрын
Hey, that sounds like the movement thinks you are un-crouched but the animations don't. I'd recommend double checking that you are setting the Boolean correctly and using it correctly in the animation blueprint as well. Let me know if you need any further, more specific help :)
@fkmeta3479
@fkmeta3479 3 жыл бұрын
@@MattAspland I've double checked and everything is the exact same as in the video is there anything else I could try?
@MattAspland
@MattAspland 3 жыл бұрын
@@fkmeta3479 I'm not too sure what it could be then if the animation blueprint and Booleans are all correct. Could you maybe send a video of the problem and some screenshots of your code so I can take a closer look for you?
@fkmeta3479
@fkmeta3479 3 жыл бұрын
@@MattAspland sorry for the late reply, but I've restarted and did everything the same as in the video. If you still have the file for the crouching tutorial, try crouching + move forwards and press crouch again. Your character will be crouching on the spot if you don't move and when you do, you will be walking the speed of your character when he is running/jogging while having your character still in the crouch animation, and the collision box will be as if the character was standing up. This is also happening in the prone tutorial you did. Is there a way to fix this?
@fkmeta3479
@fkmeta3479 3 жыл бұрын
I think you need to add a node between the "crouch moving" and the "idle/run" and tell it to transition to idle/run when the character is crouch moving and presses crouch again, however, I dont know if that is correct nor do I know how to do that. any help, would be great!
@Carlos_Lennon
@Carlos_Lennon 3 жыл бұрын
it changes the camera perspective ut it does not play the animation why?
@peterknowles5271
@peterknowles5271 2 жыл бұрын
I have the same problem and I do not know who to fix, is there a fix to the cameras not moving when the button is pressed?
@sorich918
@sorich918 3 жыл бұрын
i dont know what i did wrong but i cant move HELP
@MRTRNgaming
@MRTRNgaming Жыл бұрын
Doesn't work. Pressing ''V'' The camera just frozes. Doesn't transaction, doesnt go to 1 person. Advice?
@N1CKL1GA
@N1CKL1GA 3 жыл бұрын
I don’t want thirdband first persons (2 in 1), I want only first person.
@MattAspland
@MattAspland 3 жыл бұрын
Hey, if you mean you only want to have a first person camera. Watch this video I made before! :) True First Person Camera: kzbin.info/www/bejne/sKOWoZWnotBqgqs
@Velossitee
@Velossitee 2 жыл бұрын
Cool so now devs can just make some code for third person movement and animations connected as a template and boom you got third person. People are naive...
@z-e-t-aanimations8823
@z-e-t-aanimations8823 3 жыл бұрын
ok.... i don't have attch component to component.... it's totally absent
@MattAspland
@MattAspland 3 жыл бұрын
Make sure you are dragging out of the camera when doing that, or un-tick "Context Sensitive" in the top right of the search bar and see if that helps.
@z-e-t-aanimations8823
@z-e-t-aanimations8823 3 жыл бұрын
@@MattAspland Still nothing,
@z-e-t-aanimations8823
@z-e-t-aanimations8823 3 жыл бұрын
@@MattAspland I am also using the 4.24 version... maybe that was added later?
@MattAspland
@MattAspland 3 жыл бұрын
​@@z-e-t-aanimations8823 I'm not sure, I don't really know when it was added. If you are in the correct blueprint, in the event graph, spelt it all correctly and even turned off "Context Sensitive" and you still can't find it then I'm not sure what it could be. It might be worth updating your unreal engine just to see if that helps
@azriel2061
@azriel2061 2 жыл бұрын
It didn't work for me
@tzero9888
@tzero9888 2 жыл бұрын
WTF BRO MY CAMERA GO UNDER THE FLOOR
@shakaama
@shakaama 2 жыл бұрын
9:24 your terrible accent had me looking for LARP transform for 10 minutes, since I can't see the text anymore on this youtube video. I pulled the entire engine apart looking for LARP
Save And Load Current Level/Map/World - Unreal Engine 4 Tutorial
12:04
MEU IRMÃO FICOU FAMOSO
00:52
Matheus Kriwat
Рет қаралды 40 МЛН
THE POLICE TAKES ME! feat @PANDAGIRLOFFICIAL #shorts
00:31
PANDA BOI
Рет қаралды 13 МЛН
Alat Seru Penolong untuk Mimpi Indah Bayi!
00:31
Let's GLOW! Indonesian
Рет қаралды 13 МЛН
How To Hide In A Locker - Unreal Engine 4 Tutorial
26:43
Matt Aspland
Рет қаралды 29 М.
How to Transition the Camera when Interacting in Unreal Engine 5
9:51
Unreal Camera Manager EXPLAINED
10:55
The Game Dev Cave
Рет қаралды 2,4 М.
How to Make a 3rd Person Character in UE5
1:10:16
Evans Bohl
Рет қаралды 71 М.
Learning Unreal Engine in One Month to make a Game!
15:25
Will Hess
Рет қаралды 49 М.
MEU IRMÃO FICOU FAMOSO
00:52
Matheus Kriwat
Рет қаралды 40 МЛН