How to move a player in Unity 3D

  Рет қаралды 24,433

Jeremy Morgan

Jeremy Morgan

Күн бұрын

Пікірлер: 55
@theblueplanet3576
@theblueplanet3576 25 күн бұрын
Such a good explanation sir. Cant wait to try this out. Thanks for sharing 👌
@daviddeyta7600
@daviddeyta7600 Жыл бұрын
Thank you so much. Please keep doing Unity videos, it is hard to find well explained videos and even harder to find videos where the code is explained in detail. Greetings from Mexico, please keep it up!!!!!!
@mojojojo71
@mojojojo71 2 ай бұрын
Thank you so much for detailed explaination !!
@dragonstar373
@dragonstar373 Жыл бұрын
Wow, thanks! I've had a hard time following tutorials for c# in unity 3d, and this video explained everything in a clear and concise way! Do you think you could make a full tutorial/series of videos for learning c# in unity 3d?
@Dougyl
@Dougyl 8 ай бұрын
Finally a tutorial that breaks things down Thank You!
@kamalbarakat3108
@kamalbarakat3108 Жыл бұрын
BRO THANKS SO MUSH WITHOUT YOU I WAS NOT DOING GAME thanksssssd
@animationsarehere6455
@animationsarehere6455 11 ай бұрын
Reviewers are asking for a public ( or any) method of speed control. But this is probably not possible using this code?
@themannofsex5558
@themannofsex5558 3 ай бұрын
you just make yourself a variable that goes from 0 to 1 (or more), add a way to change the value smoothly and put the value in the vertical movement part of the code like that \/\/\/ transform.Translate(Vector3.forward * Time.deltaTime * verticalInput * yourValueGoesHere);
@TurtleWarrior10
@TurtleWarrior10 9 ай бұрын
It did not work :(
@themannofsex5558
@themannofsex5558 3 ай бұрын
did you drop the script on the cube?
@DAYLIGHTSTUDIOS-
@DAYLIGHTSTUDIOS- Ай бұрын
I have always wanted to make a game but I physically can’t, because I always get a error on the movement part everything else is fine but the movement, even if I use a tutorial, the errors say, “the name ‘vertialcallput’ does not exist in the current context”,“the name ‘Victor3’ does not exist in the current context”, “the name ‘verticallnput’ does not exist in the current context” pls help
@kingtraybake4909
@kingtraybake4909 Жыл бұрын
I had one problem with it when i saved it on unity it said it had no float for GetAxis how do i fix that. Thank you.
@LukeNacho
@LukeNacho Жыл бұрын
i have this same issue :(
@bigYoda-jt4kf
@bigYoda-jt4kf 8 ай бұрын
this is something I had too, but after I changed the name ("horizontal") to ("Horizontal") it got fixed, so it might be because you typed it without a cap.
@01_PedrinWs
@01_PedrinWs Ай бұрын
​@@bigYoda-jt4kf Me ajuda sou novo, eu coloco perfeitamente assim Na parte da movimentação, GetAxis("Horizontal"); mais não vai😢😢 help me
@sketch2d
@sketch2d Жыл бұрын
This was a fantastic video! Excellent format, excellent description and tempo for teaching what, when and why.
@juliocesardemoraesbarros5585
@juliocesardemoraesbarros5585 5 ай бұрын
Hi, is ther a 3D object in unity to which I can aplay permanent magnet properties? Or if ther is a pre-coded script for it? So then 2 magnets can react one to each other like in real world.
@JuiceeBoxTVV
@JuiceeBoxTVV 9 ай бұрын
I copied the first part line for line no typos but it dosent work idk whats wrong with my unity
@leo-pd1oi
@leo-pd1oi 4 ай бұрын
it works on me, keep trying. i had the same problem too in my first attempts
@victoriaanderson9727
@victoriaanderson9727 Жыл бұрын
Immediately subscribed! Thank you for taking the time to explain each piece of the code! Very very helpful!
@C_coil
@C_coil 10 ай бұрын
what scripting thing are you using
@Nopqi
@Nopqi 4 ай бұрын
Hello! this video is so useful for my game I followed all of the instruction but I have a little problem here. So normally, the WASD is supposed to be normal but, mine is inverted [all of the button is reversed] can anyone help me please?
@Nopqi
@Nopqi 4 ай бұрын
Never mind, already fix it ;]
@VICTORIAMEINRATH
@VICTORIAMEINRATH 2 ай бұрын
@@Nopqi How did u fix it?
@iLosttheGAME51
@iLosttheGAME51 Жыл бұрын
Thanks so much for this tutorial!! It actually worked for me and now I can use this same code for my other 3d video games!!!!
@ski_kid
@ski_kid 5 ай бұрын
there is a better way to make the camera follow the player that is to make the camera a child of the player but you need to put it in a postition you like
@The_Coding_Bee
@The_Coding_Bee Ай бұрын
i dont have an editor??
@GamerIntusiasm
@GamerIntusiasm Жыл бұрын
Okay, but what is the reapon to set input properties public, and how to increase speed with one variable named speed? how to remove sliding effect, how to use physics with it? and how to switch animations also, if we have free camera how we set the direction depending on camera rotation so cube always move from the camera if we hit forward button? how to make camera collision with walls so you won't have ability to see through them and etc
@guilhermemeier3015
@guilhermemeier3015 6 ай бұрын
Really good! Thanks!
@leochannel5619
@leochannel5619 Жыл бұрын
what do you press to make the cube move?
@UnderatedClock
@UnderatedClock 5 ай бұрын
WASD or the arrows
@antoniorhythm
@antoniorhythm 7 ай бұрын
Thank you Jeremy
@giuseppepetruzzellis4235
@giuseppepetruzzellis4235 8 ай бұрын
thank you so much bro!
@PolySh4pe
@PolySh4pe Жыл бұрын
Why is my blocks movement so slow
@bigYoda-jt4kf
@bigYoda-jt4kf 8 ай бұрын
if you put an extra float for movespeed it should move faster, like this: public float movespeed = 3f; Transform.Translate(Vector3.foreward * Time.DeltaTime * VerticalInput * movespeed); you can change the movespeed easy by changing it in the Inspector venster; (I am also kind of new, but this worked for me)
@elgatocrack9209
@elgatocrack9209 Жыл бұрын
thank you man.
@LuzuVlogsGamer
@LuzuVlogsGamer Жыл бұрын
Its 2023 why do you teach people the Old input system, rather than the New Input system that is so much better in performance and in scalability
@-qj8idAnother
@-qj8idAnother 6 ай бұрын
Very helpful 🤠
@benjaminwoollcott3324
@benjaminwoollcott3324 Жыл бұрын
Great video, thank you!
@_shahbaz_awan_
@_shahbaz_awan_ 6 ай бұрын
amazing sir can we just add camer a to the player and set its postition 3rd person instead of writing a script for it?
@gray_meow000
@gray_meow000 2 ай бұрын
it doesnt work :
@_-VIS-_
@_-VIS-_ 9 ай бұрын
Says “vector 3 does not contain a definition for foward”😭
@bigYoda-jt4kf
@bigYoda-jt4kf 8 ай бұрын
did you type it exactly like here? it should do with Vector3.forward. including caps and everything.
@_-VIS-_
@_-VIS-_ 8 ай бұрын
@@bigYoda-jt4kf it took me like 3 days to realize I was spelling “foward” wrong. It’s actually foRward. I quit unity and started ue5 so it doesn’t matter
@_-VIS-_
@_-VIS-_ 8 ай бұрын
Crazy to think that was only a month ago
@kaspervanoverbeek4064
@kaspervanoverbeek4064 8 ай бұрын
​@@_-VIS-_nice, good luck with ue5!
@_-VIS-_
@_-VIS-_ 8 ай бұрын
@@kaspervanoverbeek4064 blueprints make me wanna k*ll myself💀
@samuraidoge6159
@samuraidoge6159 11 ай бұрын
Amazing video it need more likes
@drguineapig8755
@drguineapig8755 7 ай бұрын
There is some weird stuff going on with mine. When I press up and down it moves my character left and right and vice versa. Do you know of a way to fix this? Good tutorial though.
@YashasviBhardwaj-sd5rj
@YashasviBhardwaj-sd5rj Жыл бұрын
@Jeremy Morgan I am beginner game developer from India, I have some issue which I am unable to resolve, Could you help me in that, these issues are regarding the multiplayer. Thnaks
@trystankitty5393
@trystankitty5393 Ай бұрын
uh
@GuideGrid
@GuideGrid Жыл бұрын
hoping this is good Edit: Unity keeps saying there is a compiler error no matter what i do
@JeremyMorgan
@JeremyMorgan Жыл бұрын
What’s the error?
@GuideGrid
@GuideGrid Жыл бұрын
@@JeremyMorgan idk some kind of compiler error. i double checked my code and it's the same as your's(Other than the class name, but that doesn't really breaks the project, because my class name HAS to be the same as the file name).
THIRD PERSON MOVEMENT in Unity
21:05
Brackeys
Рет қаралды 1,5 МЛН
NVIDIA’s New AI: Stunning Voice Generator!
6:21
Two Minute Papers
Рет қаралды 76 М.
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 6 МЛН
快乐总是短暂的!😂 #搞笑夫妻 #爱美食爱生活 #搞笑达人
00:14
朱大帅and依美姐
Рет қаралды 13 МЛН
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2,6 МЛН
3d stereogram - Make your vision better
7:32
Stereogram
Рет қаралды 62
Unity Basic Movement 3D Tutorial for Beginners (Simple move & Jump with a Cube)
22:06
Why Solo Developers Should Use Unreal
9:51
Thomas Brush
Рет қаралды 432 М.
Make Video Games
44:12
Pirate Software
Рет қаралды 1,4 МЛН
Unity's New Input System:  The Definitive Guide
32:07
DmanGames
Рет қаралды 33 М.
How I learned Unity without following tutorials (Developing 1)
18:11
Game Maker's Toolkit
Рет қаралды 2 МЛН
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 731 М.
FIRST PERSON MOVEMENT in 10 MINUTES - Unity Tutorial
9:58
Dave / GameDevelopment
Рет қаралды 1,1 МЛН
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 6 МЛН