(00:05) - Intro and working in the Event Graph (02:16) - Movement Inputs in the Character Blueprint (03:47) - Scale and Rotation (05:36) - Getting vectors (07:14) - Adding mouse input (09:42) - Adding jump (10:54) - Wrap up
Пікірлер: 67
@ChunkyBrewster8 жыл бұрын
7:25 Instead of doing it based on the Pawn rotation, you can make it work like most third person games and make it based off the Camera. Right click and type "Get Forward Vector (Camera)" and "Get Right Vector (Camera)" and use those instead as their respective world positions.
@ChunkyBrewster8 жыл бұрын
+ChunkyBrewster I don't know if this is covered in the future videos, but just something I noticed was odd! Hope this helps anyone that is wondering if they might have messed up.
@danielvutran7 жыл бұрын
TY!!! @@@xdf
@yoloswaggerson19707 жыл бұрын
Your suggestion seems to have a flaw: when camera points up or down a character can't move forward or backward (also he starts to move slower as camera is deviates closer to Z axis)
@dhaneshbavot7 жыл бұрын
but you can break that vector to get the yaw value which you can then use for forward vector
@XibaD6 жыл бұрын
Thanks for the tip!!!! Very useful.
@rockmanxdi8 жыл бұрын
Everyone coming to my office is asking why there is a blue arrow in front of the persona's pants.
@skibidi_rizzler_444 Жыл бұрын
i swear bro this is the best engine i ever used
@SirSethery6 жыл бұрын
For anyone who doesn't see "Turn", back in Project Settings>Input, you should see what you named your Axis Mapping for moving the mouse right. I had it as "MouseRight", so search for that instead if you named it the same.
@KWadeProductions3 жыл бұрын
Thanks 🙏🏼
@joeyschmoe20898 жыл бұрын
Sounds like you're dropping bionic elbows on that Enter key.
@kitaramei8 жыл бұрын
My camera does follow my mouse when my characther is standing :/ , it moves when i move and my character follows it the mouse, it just that it does not look up and down while moving or while standing. I change the Yaw(Z) thing already and it doesnt seem to work still
@tunisianleague24574 жыл бұрын
I made the movement inputs with c++ and I followed your previews tutorials about animating the character movements and yet my character doen't change his pose when I move it (he's always in the idle pose)
@aberrybear4738 жыл бұрын
My Break Rotator says X (roll) Y (pitch) (z (yaw) : instead of pitch yaw roll this confuses me I don't know if that's what its suppose to say but its like got z yaw instead of y yaw.plus if i select the break rot into axes node instead it says In Rot xyz i dont know which one is the correct one cus they are different than the tutorials. im confusing lol.
@rattapoomkotchapong16742 жыл бұрын
For some reason my character refused to transition from idle even though the state machine seems to work fine in the animation preview :(
@OzcorpsDesigns8 жыл бұрын
Has anyone got a SMOOTH 3rd person camera working... based off a follow camera like in Side scroller but from the back... i tried a few but issues arise when you RUN back at the camera it goes mental trying to flip it behind... since that i have started again and asking for Guidance.. PS also if anyone managed to stop the ICE SKAting movement please tell me what it is
@autbo8 жыл бұрын
The audio is behind for about 2 seconds.
@MrAaditshah5 жыл бұрын
I can’t find the move forward node
@everabyss5 жыл бұрын
I have a big problem here. I don't able understand if roll = x , pitch= y , yaw = z then how come we use yaw which is " Z " to turn right or left. and similarly, everything is upside down to me. Please help.
@putdownthreads5 жыл бұрын
sorry this answer is a few months late if you still need help, but think of rotations as spinning around a pole. In the UE4 level editor, in the bottom left corner, you can see the XYZ axes. Imagine sticking a wheel onto each of these axes, and spinning that wheel. Notice how Y axis (the pitch) is the same way a car has an axis, so if we put a wheel on that, the 'wheel' would spin like a wheel normally would (if we painted a red stripe on the wheel, as it rotates the red stripe would go up[ and down). If we put that wheel on the Z (yaw) axis, now the wheel is spinning on it's side! And now the red stripe on that wheel will be rotating left and right (or in better terms, clockwise and counter clockwise since rotations are circular functions). Hope this helps! rotation is a very complex subject, much more complex than people think (Euler angles and Quaternions are notoriously hard to understand so I suggest just ignoring those and be thankful for the people who figured it out for us! lol)
@dutchmafiaking6 жыл бұрын
I guess I'm just getting old and I can't be taught new tricks, but after watching about 20 or 30 of these Unreal tutorials, I just can't wrap my head around all of this visual scripting. I realize it's intended to make non-programmers capable of "writing" code, but the reality (to me at least) is that it's still super complicated with nodes, commands and function, and presented in ways that don't really resonate with a non-programmer type person. The node networks are messy, a lot of the times the name of the actual nodes don't seem to be the best choices, and you often need to take so many steps to get a simple value...one might as well just learn C++ programming. As a side note, I wish someone out there could create tutorials in a way that is not just staring at a monitor and hearing a voice...JC it's boring as all hell.
@mistypixstudios63046 жыл бұрын
idk, i found his style very good and entertaining. you DO NEED to have some experience in programming constructs like what is a loop, a condition, etc to program a game. however this is way more easier than programming in c++ trust me, you don't want to deal with c++. just keep making stuff and it is all a matter of getting used to the work flow and remembering the names of node values. i do suggest that try to learn some basics of programming if you don't have already (c++ would be better in this case), just to get an idea of how logic flows through, and how variables work, how conditional statements work, how classes work, what are instances, object oriented design, inheritance etc, because the same concepts are used in blueprints too. for eg we "inherit" from the "character" class, we make "instance" of our blueprint, we use "variables" which are "public", we check for a "condition" if it is true or not. i hope you get what i mean.
@bobdawkins74736 жыл бұрын
Visual scripting is the easy way to program visually though. If you can't Visual script, programming will be twice as hard. You won't be able to follow visually the links and directions of where inputs and outputs are going.
@manishotaval83164 жыл бұрын
Movement -------- working! Mouse -------- working! Direction -------- not working! Edit: Character Blueprint is always moving to world forward direction. How to fix it? I am using UE 4.11 Edit: In UE4 the Z axes is for up direction(not Y). So i connected it to Y(pitch) to get local direction. Now i fixed it by connecting it to Z(Yaw) to get local forward direction. It is working now!!
@DummySnek6 жыл бұрын
what about strafing?
@DiegoSilva-bp9if7 жыл бұрын
To work on my version (4.16.1) I had to connect the three points of the "Break Rotator" with the "Make Rotator". Then I had to change two things, first the "Get Forward Vector" by "Get Forward Vector (Camera)", that comes with CineCamera together, and also the "Get Right Vector" by "Get Right Vector (Camera)", I hope Have helped someone.
@phantompain66787 жыл бұрын
You are great! Thank you very much, I had big issue with movement:)
@Hamza-gn2cg5 жыл бұрын
YOU ARE THE GODDAMN BAST
@Lmao-ke9lq6 жыл бұрын
12:12 if i use only mouse and keyboard, is Movement square useless?
@grn15 жыл бұрын
No, movement square also takes values from the keyboard for movement though there may be an easier setup for just keyboard (I'm just learning this myself). It's probably best to have gamepad compatibility though, it takes relatively little effort and appeals to a larger audience.
@xMaverickFPS9 жыл бұрын
this might be a premature question (as i havent yet finished this video, let alone the entire tutorial series), but how would one maybe do this without using the project settings tab? so you could maybe have different controls for walking versus in a vehicle. or for third person vs first person.
@bobdawkins74736 жыл бұрын
You'd need multiple character state trees :)
@ryanw55009 ай бұрын
I need help. I can't get my character or my camera to move.
@NINedStark8 жыл бұрын
Nice video! What Yaw means?
@distortionsofnormality30728 жыл бұрын
+NINedStark A twisting or rotation around a VERTICAL Axis. Think of Pitch, Yaw, and Roll like rotation from an X,Y, or Z perspective. I hope this helps.
just a correction, it is "break rotator" not "break rotation"
@levitabusman6 жыл бұрын
8:08 Turn Rate is not showing when I right click and search for Turn Rate... did they remove this?
@ethanlane98735 жыл бұрын
In one of the previous videos he made key mappings. That is where he made TurnRate.
@the_unkilled22388 жыл бұрын
there is no turn
@gang-ridertv54337 жыл бұрын
There is no move right! 6:19
@levitabusman6 жыл бұрын
yea i cant find turn rate!
@ethanlane98735 жыл бұрын
That is a binding made in a previous video.
@SIRSANDMAN03 жыл бұрын
I cant find the moveforward function. I even searched.
@cherryoverrun38516 жыл бұрын
is Yaw the Y acses
@leptosurreal4608 жыл бұрын
I HAVE ONLY TURN RATE! HELP!!!
@albedus70567 жыл бұрын
IN order to fix that you have to go to project settings and look for inputs once your there open up the Axis mappings and find turn it should show you that you mis spelled it and just correct it then go back to characterBP then from there everything is a ok