Unity Movement [RigidBody vs Translate]

preview_player
Показать описание
In this video I go over a few methods on how to move a player or an object around the screen. I think share my thoughts on which method is best for each use.
============
In this video I discuss:
0:28 - Moving An Object Using Translate
2:20 - Problems with using Translate
2:50 - Using RigidBody for Physics & Collisions
5:00 - 3 Ways to Move An Object with RigidBody
5:10 - Using AddForce()
6:15 - Using Velocity
7:05 - Using MovePosition

TO COPY & PASTE SOURCE CODE:

MORE TUTORIALS:

Spawning Obstacles video:
Рекомендации по теме
Комментарии
Автор

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.

leedavis
Автор

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.

quintongordon
Автор

Thanks, man this helps me. By giving an example for each method it really helps me to understand when to use them.

hiteelperado
Автор

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!

cemugurkaracam
Автор

You know whats more fun then finding which is best for your game? Finding out that apparently none of them will work.

onlymegabytes
Автор

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 👌🏾

klausgaming
Автор

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!

LetsPlayCrazy
Автор

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 !!

phi
Автор

Oh my god you explained all of this SOOO well, dude thanks

hershmysson
Автор

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.

majora
Автор

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

coldxcalculated
Автор

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

kovidkhokar
Автор

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

jeremiebeaulieu
Автор

Thank you so much, I've been through about 50 videos today - no luck untill I found this one, god bless man <3

Borna
Автор

i started learn unity from 2019 when i was 10 years old, and i wasn't know this, Thanks a lot ❤❤

bimokayoba
Автор

Pretty good explanation, now I understand why there are so many ways to move a gameObject

ingvmbv
Автор

8:06 if you turn the collision detection in the Rigidbody componont from "Discrete" to "Continous" this won't happen. Nice Video :D

Sakros
Автор

This is the most helpful character movement video I've ever seen. Thank you!

amandachristina
Автор

nobody could explain it better, keep with this tutorials pls

carlosjunod
Автор

Easily the best rigidbody vs translate explanation of why you'd use one over the other and simple examples without needless complication. thank you!

drominus