Тёмный

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

Matt Aspland
Подписаться 81 тыс.
Просмотров 35 тыс.
50% 1

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

Опубликовано:

 

1 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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!
@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! :)
@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 :)
@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!
@MrMingles
@MrMingles 2 года назад
Hey, I’m completely new to unreal engine, and these tutorials are very helpful! You got a sub!
@es-games
@es-games 3 года назад
Very smooth, great job!
@MattAspland
@MattAspland 3 года назад
Thank you man! :)
@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?
@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 :)
@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!
@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. :-)
@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! :)
@redfoxsis
@redfoxsis 3 года назад
Thank you man
@MattAspland
@MattAspland 3 года назад
No problem!
@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?
@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?
@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 :)
@Alex00m
@Alex00m 3 года назад
Nice one bro😊👍
@MattAspland
@MattAspland 3 года назад
Thank you man!
@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)
@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?
@TheKingEsoko
@TheKingEsoko 3 года назад
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?
@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.
@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
@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
@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?
@abdullahsohail5395
@abdullahsohail5395 3 года назад
Nice work dude love it
@MattAspland
@MattAspland 3 года назад
Thank you man! :)
@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
@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
@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!
@hyunsulee1212
@hyunsulee1212 Год назад
Can you move freely like an empty file start?
@Skeltcher
@Skeltcher 2 года назад
Omg another one XD EDIT: And thats is waaay more complex >.
@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! :)
@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
@cainsmith9605
@cainsmith9605 11 месяцев назад
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.
@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?
@cinglesby
@cinglesby Год назад
Can toggle the camera to enter first person mode but it wont allow me to toggle back to third person?
@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!
@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??
@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...
@SenEmChannel
@SenEmChannel 2 года назад
does anyone succeed, when i press V camera go far too long. i try to find another solution
@hanythabet4027
@hanythabet4027 3 года назад
Boss!
@lelandwright4098
@lelandwright4098 3 года назад
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.
@invaderjay
@invaderjay Год назад
What was the point of creating the Camera Manager?
@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.
@Drigg2000
@Drigg2000 2 года назад
Well this one was quite a journey, but I learnt a lot from it 9and it worked, eventually). Thanks.
@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
@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! :)
@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.
@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.
@LetsGet_It_Don
@LetsGet_It_Don 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? :)
@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
@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 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-2HwkMfcRMxM.html 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
@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!
@kikotheham1751
@kikotheham1751 2 года назад
why does my camera go to MyPC instead of the third person?
@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
@iRobert
@iRobert Год назад
Can u make this tutorial for UE5 pls? :)
@musikalniyfanboichik
@musikalniyfanboichik 3 года назад
nice
@MattAspland
@MattAspland 3 года назад
Thank you :)
@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
@stcg21
@stcg21 Месяц назад
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 Месяц назад
UPD. I added a fix from the pinned comment, but that didn't help solve the error either.
@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
@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.
@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)
@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. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-PwhGk5fSIjg.html
@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?
@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.
@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 :) ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-gHJ4pHlqAzQ.html
@Carlos_Lennon
@Carlos_Lennon 3 года назад
it changes the camera perspective ut it does not play the animation why?
@peterknowles5271
@peterknowles5271 3 года назад
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?
@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!
@_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 :)
@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.
@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
@sorich918
@sorich918 3 года назад
i dont know what i did wrong but i cant move HELP
3 года назад
why is not it famous?
@MattAspland
@MattAspland 3 года назад
Ha thank you so much man!
@MRTRNgaming
@MRTRNgaming Год назад
Doesn't work. Pressing ''V'' The camera just frozes. Doesn't transaction, doesnt go to 1 person. Advice?
@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
@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: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-zr3pbqmk7LI.html
@azriel2061
@azriel2061 2 года назад
It didn't work for me
@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
@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...
@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
Далее
Meninas na academia
00:11
Просмотров 2 млн
🛑 до конца!
00:12
Просмотров 86 тыс.
How Hackers Bypass Kernel Anti Cheat
19:38
Просмотров 600 тыс.
Unreal Camera Manager EXPLAINED
10:55
Просмотров 3 тыс.
Meninas na academia
00:11
Просмотров 2 млн