This is the first tutorial I've seen that shows the difference between RB and translate since I started using unity a year ago. Thanks.
@pressstart68645 жыл бұрын
Awesome, glad I could help!
@palomapaloma8114 жыл бұрын
my character just goes up, what do i do?
@Semaj0z4 жыл бұрын
@@palomapaloma811 well, its kinda help with no code
@quintongordon60244 жыл бұрын
To stop objects from moving through colliders when moving at a fast pace you can set the objects rigid body's collision detection from discrete to continuous. It's more performance heavy which is why it's not the default.
@Borna6882 жыл бұрын
thank you, saved me
@gridvid2 жыл бұрын
Sadly, it still keeps happening to me. I had to stop all movement on collision events to prevent it.
@thepolyglotprogrammer2 жыл бұрын
Me too, for some reason, just changing to continuous does not seem to work for me.
@rad6626 Жыл бұрын
@@thepolyglotprogrammer have you found a fix yet?
@anatoly.larkin3 ай бұрын
Looking for a fix myself. I have tried everything. Continuous Dynamic on all rbs with interpolate turned on. The rb I am moving still "goes inside" the RB it's colliding with.
@hiteelperado43185 жыл бұрын
Thanks, man this helps me. By giving an example for each method it really helps me to understand when to use them.
@wonderpouchstudios5 жыл бұрын
Yeah same, not a lot of people do this, they just show you one way "How To Move a Player In Unity"
@battosaijenkins9464 жыл бұрын
@Press Start, aw man I'm like 2 years too late but your explanations are so specific and to the point I'm learning so much. Thanks again great vids!!!
@cem.ugur.karacam6 жыл бұрын
I've seen a lot of rigidbody lesson on both unity official tutorials and youtube but this is the best well explained and distilled version ever! Keep on your journey, I'll be following!
@pressstart68646 жыл бұрын
Wow, thank you for your nice words
@etistyle96 Жыл бұрын
i can't agree more on this one. This is a masterpiece !
@only2megabytes1394 жыл бұрын
You know whats more fun then finding which is best for your game? Finding out that apparently none of them will work.
@NotASpyReally3 жыл бұрын
pain
@NotASpyReally3 жыл бұрын
@jonathon boiragee no u are sus
@draxnos5063 жыл бұрын
What's the issue? The issues he had with the first two are actually really easy to fix.
@only2megabytes1392 жыл бұрын
@Susan Reed What the fuck
@backgroundmusic2502 жыл бұрын
when I rotate the capsule with the mouse the axes change direction (W becomes S and A becomes D and vice versa), so to go forward I have to use A, D or S depending on where the player is looking . Does anyone know how I fix this? I tried transform.Translate, but as said in the video, it doesn't work along with physics
@LetsPlayCrazy2 жыл бұрын
This video is a gift from heaven. I just started unity a week back and my script is super complicated because i never knew how to do movement, so I experimented. This REALLY helps a lot! Thank you!
@klaus117gaming3 жыл бұрын
This is what a tutorial should look like. Been searching for a simple and well detailed answer for eternity and i got even more confused each time, but finally, I got a good answer. Thanks man 👌🏾
@Sakros4 жыл бұрын
8:06 if you turn the collision detection in the Rigidbody componont from "Discrete" to "Continous" this won't happen. Nice Video :D
@Theasstasticvillain4 жыл бұрын
Note that changing from discrete to continuous is much more performance intensive though, so be careful
@b.alejandres82302 жыл бұрын
ty buddy, you rock.
@BorbsJSKF2 жыл бұрын
Not on translate if the speed is too high, that only applies to Velocity
@adesinausman2478 Жыл бұрын
@computerbrand9701hey, have you figured it out?
@majora48965 жыл бұрын
This was information I needed for a long time. I kept trying to have the translate behavior, while avoiding clipping issues. I couldn't find an answer until your video. Thank you.
@phi41085 жыл бұрын
This video help me so much. On youtube people only show how to move player but they don’t explain the different between these . Thank you so much !!
@kovidkhokar2982 жыл бұрын
bro MovePosition is a life saver it is weird that after 1year of struggling i still hadn't heard of it. You are in need of this movement system 7:09
@yoyo123452 жыл бұрын
8:25 u could set collision detection to discrete
@hershmysson4 жыл бұрын
Oh my god you explained all of this SOOO well, dude thanks
@volkerherfeld3225 Жыл бұрын
One of the best explanations on KZbin. Thanks!
@Borna6882 жыл бұрын
Thank you so much, I've been through about 50 videos today - no luck untill I found this one, god bless man
@amandachristina9746 Жыл бұрын
This is the most helpful character movement video I've ever seen. Thank you!
@jeremiebeaulieu85014 жыл бұрын
This video is the best explained video on the subject that I've ever seen. Even my teacher in college didn't explained that well. This will help me alot, thanks
@coldxcalculated91913 жыл бұрын
Sir, please make more of these. As a complete beginner your way of describing makes so much sense than the traditional “ follow me” tutorials where when you finish you are just as clueless if not more than when you began
@mushkela3575 жыл бұрын
First of all, I like all you videos and how well done they are just made (recorded, edited, and even sound and visual quality. I've been watching you videos on Patreon for the most part, but I just had to comment on this video. It's just very well explained and the demonstration and the way you broke things down just couldn't have been done better! Thank you very much, and keep up the good work. especially those video where you explain how things work or what certain functions/methods do or how they work. I'll be waiting for more videos like this.
@pressstart68645 жыл бұрын
It means a lot to me that you took time out of your day to write this. Appreciate the love. Tons more to come, thanks for following :)
@carlosjunod54245 жыл бұрын
nobody could explain it better, keep with this tutorials pls
@pressstart68645 жыл бұрын
Appreciate it :) - new video on Sunday
@Term1nus3st5 жыл бұрын
This was so informative, I've tried everything without understanding anything, havent tried only movePosition and this was what I needed. Thanks a lot for the time you spent to make this video
@pressstart68645 жыл бұрын
Thank you for your kind words and I'm glad this video helped!
@GrayGriffonKnight3 жыл бұрын
hey, I've been using this video since it was released on like, a dozen or so different projects of mine for any number of functions and tasks. So, thank you so much. It has really made my life so much easier.
@jojobee2285 жыл бұрын
finally, I understood the movement, thank you for the video.
@mohamedelkehaoui72264 жыл бұрын
the best unity tutorial I ever watched hope you keep adding tutorials or even a paid course.
@thefallenlime4 жыл бұрын
This was far easier to understand than some of the other tutorials I'd watched. It also gave me a couple of ideas on how to use the other movement types for different enemies. Thanks!
@candycodes45754 жыл бұрын
This video is gold, short, direct, and actually full of information. Getting the How, why, and what for... One of the best videos in terms of knowledge given for time spent on a video. Subscribed immediately... :D will be watching out for your contents man...very nice...
@NaderTaghinia4 жыл бұрын
Really useful information, good voice, high quality recording both visually and vocally, nice editing, not too short and not too long a video, clear explanation about the subject, proper examples and many other details that I am sure you have considered but I cannot immediately get it. I badly needed this piece of information and you just delivered that in the best way possible. Thank you so much sir ❤️
@Hydraxouz2 жыл бұрын
Thank you for this! I made the mistake of using the Translate function for my game prototype only to then realize after a bit of work that physics, collisions, and almost every planned mechanic was non-functional. You've done a fantastic job of explaining how the rb methods work.
@2000GHz4 жыл бұрын
Finally someone explained this clearly! Thank you so much for this
@drominus38753 жыл бұрын
Easily the best rigidbody vs translate explanation of why you'd use one over the other and simple examples without needless complication. thank you!
@joshuavancuyck26696 жыл бұрын
dude your videos are so informative and relevant and you deserve WAYY more subscribers!! Carry on man you'll soon be noticed
@pressstart68646 жыл бұрын
Appreciate the love!
@gui31santos4 жыл бұрын
Wow! I watched so many videos this week trying to understand this, but your video was definitely the best one. Thanks a lot! Please keep making more of those
@ingvmbv2 жыл бұрын
Pretty good explanation, now I understand why there are so many ways to move a gameObject
@jaimemedina33515 жыл бұрын
Thank you! Great, straight forward exposition. You pack a lot of information in a short period of time.
@pressstart68645 жыл бұрын
That’s my goal. Thanks for the feedback!
@Prudenprocom3 жыл бұрын
You have finally made me understand parameters! At last!!!
@Noisey_fox3 жыл бұрын
Thorough, specific, understandable, and epic. You have saved my life once again brother.
@lukedeets50164 жыл бұрын
Best explanation I've found on KZbin !!
@Lily-cn1bp4 жыл бұрын
This is a very good explanation, it's easy to follow and it highlights important points that most other tutorials don't.
@bimokayoba Жыл бұрын
i started learn unity from 2019 when i was 10 years old, and i wasn't know this, Thanks a lot ❤❤
@raffdev5 жыл бұрын
Great video. Explained simply, shortly, with practical examples and comments. I don't know how you could make it any better, keep it up. You've got my recommendation :D
@pressstart68645 жыл бұрын
Thank you for your support! Means a lot to me.
@X1th Жыл бұрын
Thanks to the god of random that I stumbled upon this video after watching others on the same theme. Very helpful, thank you!
@gregoryfenn14625 жыл бұрын
I like the format of these videos, and I think the speaking and demonstrations are clear. So I'm surprised it's still so small.
@pressstart68645 жыл бұрын
Thanks Gregory! We're slightly new but our numbers are climbing. We just need to breach through KZbin's algorithm, but I appreciate your kind words and support!
@gregoryfenn14625 жыл бұрын
Maybe, I don’t know how these things work. My friend Chris (Cynical Reviews (previously Cynical CJ)) started from nothing and now has like 100k subs after a year. And Sykoo does Unity stuff and is doing very well (I think he’s friends with the guy from Brackeys so that might help.) maybe you need to say more controversial opinion stuff? Seems to work for other KZbin stars. I don’t know. I would like more channels like yours to grow because it’s great for learning Unity and generally making the community feel at home.
@humadi20014 жыл бұрын
one of the BEST ,BEST, BEST Unity Tutorials. Thank you!
@JohnyLMS5 жыл бұрын
Just what i needed. Thanks for the video, dude
@briwal89754 жыл бұрын
SIIIIIIIII Luego de buscar solucion para el movimiento de mis personajes por fin encontré el video correcto. Excelente❤!!!
@jamesjeoffreysarmiento32242 жыл бұрын
Dude this helped me so much! Thank you for the tutorial now I know why when I use transform.Translate it keeps on vibrating thank you!
@AliHosseiniDev6 жыл бұрын
a very complete toturial ty very much
@cajmichaelandersson50725 жыл бұрын
I am pretty new to game development and this is one of my biggest problems, thanks a lot! :)
@pac4games2534 жыл бұрын
I loved the video! I was having problems with my 2D game because the player character was hitting the colliders but passing through after sometime, the Rigidbody.MovePosition() function was so helpful and you explained very clearly how to use it and how it works, thank you so much! :)
@naturelist2 жыл бұрын
That is absolutely what I wanted! Thank you so much!
@andrewporter13484 жыл бұрын
Just wow, thanks I had trouble with the addforce function and you solved it in a second. Thank you!
@nischitasudharsan98834 жыл бұрын
Thanks for the awesome explanation! I have been wanting to understand this from a long time and this was the best video that explained it clearly
@Glisean5 жыл бұрын
This is such a helpful video! I've been going through so many videos and tutorials that just say "move your character this way" without explaining why that method was used or how it doesn't make sense for every game. The first tutorial I followed used translate because collisions did not have an affect on the player movement but it doesn't make sense for something like a 2D platformer.
@prithvimohanjanak88183 жыл бұрын
Thank you so much. Your video has helped in understanding the distinction in each of the function methods.
@yudingzhou86834 жыл бұрын
thank you! this is the most simple yet comprehensive tutorial for introducing moving an object. i got the big picture.
@BossFlight4 жыл бұрын
Thanks! Finally! This should be added as a Official movement tutorial in Unity website itself!
@stephulz Жыл бұрын
Amazing tutorial, finally understood it
@bazingazeroni3 жыл бұрын
Maaaan thank you sooo much. I was looking for a rb.moveposition() type of thing for ages!!!
@hugomiramontes76305 жыл бұрын
I just saw this video and it helped me understand all those concepts well, thank you very much, awesome work.
@pressstart68645 жыл бұрын
Cheers
@GrumpSkull3 жыл бұрын
I fell through the terrain into the abyss of nothingness, never to return to the physical realms and have now become just an avatar on KZbin.
@yaxyz10306 жыл бұрын
I love your tutorial man! Very useful information
@pressstart68646 жыл бұрын
Thank you!
@lip3gate5 жыл бұрын
You are very talented to teach and I love how you can explain 3 different ways for achieve movement with scripts. Could you make a series with this theme? I mean, wich different functions could do the same? Thanks!
@technofeeliak5 жыл бұрын
Well, what drives me absolutely up the walls is that the minor details tutorials often skip like the is kinematic checkbox will have me looking for hours thinking I did something wrong with the code. I'm not setting up a script directly on the GameObject you see? So it's just easy to imagine that I've done something wrong. In the end, all of this is just so simple. It's like, when I was desperately trying to get the mesh data, I'm talking about the vertices and the triangles... someone on Twitter showed me a sample of his code. It didn't work for me at all. I kept getting error messages that read something like I didn't have permission to read or write the data. When I found that stupid checkbox everything seemed to work... Oh, but no, there had to be something else. I had all the coordinates, it was so beautiful. But they looked strange, and I got to understand that I had a long list of doubles and not floats. I spent days scratching my head, trying to figure out how I would solve this or just make a tool again that I'd use to trace all the graphics. It was just a checkbox... one that determined whether to change the units of the imported mesh into Unity units. I turned that off and everything was great. So, when these experienced users and teachers don't explain things in depth missing minor details that change everything, the learning process isn't just extended it's made a torment. I say, thanks for the information but next time please make it comprehensive. You have no idea just how discouraging it is. kzbin.info/www/bejne/hpC5p3ilqquibtk
@marcusmorrow39005 жыл бұрын
This was a great tutorial. I really needed the help.
@antonymorsas5 жыл бұрын
Great great great, so informative, just what i want
@Koujujutsu5 жыл бұрын
Thank you so much! I've been flipping through tutorials and manuals for a week straight trying to find the simplest way to give an object flight. And...ha...for some reason, my sphere ended up flying around the X access instead of the Y, like yours. But THANK YOU. That was a succinct yet thorough explanation. I prefer the AddForce option, because I am trying to similate movement through fluid. However, I still have to look into how to include the Z axis. Maybe I should go for a follow the (3d)camera and move option.
@fernandovillagran94363 жыл бұрын
The best tutorial!!!! congrats bro!
@Tutterzoid6 жыл бұрын
Thanks for covering those different ways of going about Movement in Unity :)
@pressstart68646 жыл бұрын
Tutterzoid thank you
@vargasxr4214 жыл бұрын
Great display of options! Thanks
@jaopreto-wlock Жыл бұрын
Dude, this video saved me a lot of time, thank u
@Skipzilla015 жыл бұрын
This was explained so clearly and objectively. Definately subbing
@pressstart68645 жыл бұрын
Thanks for the love homie
@totallyrandompersob16644 жыл бұрын
I watched a tutorial on ai and it used add force but I wanted to use move position. Long story short took me four days and lots of thinking, you definitely helped.
@smartandfunny61405 жыл бұрын
wow , amazing! well explained ! thanks man keep up the good work!
@B4NTO3 жыл бұрын
Thanks for a Short simple and straight forward video 😀✨
@henryjohn62445 жыл бұрын
This is a helpful video i ever see. Keep it up man
@pressstart68645 жыл бұрын
Thank you!
@henryjohn62445 жыл бұрын
Not Welcome@@pressstart6864
@Mrbasscarrot4 жыл бұрын
Perfectly explained. Thankyou
@_jenfi5 жыл бұрын
This is exactly what I'm looking for! Thank you so much!
@tPlayerioT Жыл бұрын
THANKS it fixed my collision issue.
@vicenteperez21363 жыл бұрын
thank you so much im trying to get into unity and game dev this helped a lot
@sebastianjimenez21843 жыл бұрын
Really clear explanation
@ossiexs5 жыл бұрын
Great explanation , great animated , great example , just wow thanks so much ,
@pressstart68645 жыл бұрын
You're awesome, thank you!
@AmIThePresident4 жыл бұрын
You can use a raycast before moving to see how far you should move, if the raycast hits something then get the position and use that to move instead of the usual calculation.
@noahschierenbeck63754 жыл бұрын
Thank you for this! Great explanation about the different choices!
@sinistergeek4 жыл бұрын
bravo explaination iz off the chart i humbly thank You for Making video as beginner it's really helpful!!
@chillingoutt6 жыл бұрын
Another awesome tutorial!! Congrats
@youssefbahomman1615 жыл бұрын
Nice and cool and very comprehensive thanks dude
@pressstart68645 жыл бұрын
Thanks for stopping by!
@Rovsau3 жыл бұрын
Great tutorial. One flaw at the end: Set Rigidbody Collision Detection to Continuous instead of Descrete. That will prevent moving through walls at high speeds.
@nurielfreeman78094 жыл бұрын
got a subscription only because of this great explanation !! thanks a lot buddy, finally!
@amaarmohammed33205 жыл бұрын
thanks man your toturial helped me a lot
@belljo5 жыл бұрын
excellent and concise!
@Ghost-20794 жыл бұрын
perfect video, i'v used velocity for camera photo mode in game !
@DallasCowboyFan955 жыл бұрын
This is the perfect video i needed!! thank you so much
@ronnid88374 жыл бұрын
Quality material! Thank you
@rodrigopereiramelo4 жыл бұрын
dude, you are amazing explain everything perfectly
@dennis25994 жыл бұрын
I can now fix my game with your help: instead of using AddForce(), I am now using MovePosition(), which doesn't break my game. Thanks :D
@d1a9n8a85 жыл бұрын
so important explanation! thank you
@syeddaniyalhaidernaqvi66845 жыл бұрын
A really healpful tutorial. Thanks a lot :)
@foreducation4082 жыл бұрын
thanks for the tutorial helped me a lot.
@ScilexGuitar4 жыл бұрын
2:18 So THATs why my OnCollisionEnter2D method didnt work! I get it now