Unity 101: 5 ways to move Unity3D Objects

Jason Weimann (GameDev) · 235K views · 2017 · 7:02

Open on YouTube

Game programming & enginesIndie game developmenttutorial

Why Stack Overflow recommends it

Stack Overflow users link it when beginners need an overview of the different ways to move a Unity object, such as transform, physics or other methods.

Recommended by 2 people across 2 different months, 2019 to 2023.

What it is

A short Unity3D tutorial by Jason Weimann that walks through five different ways to move a GameObject in code and compares how they differ. He also says which approach he usually reaches for.

What people said

Recommends Hamza Tahir · 2019-01 · Stack Overflow · on “Is there a way to start a method from button click without using Update() function in unity”

ok Buddy , I have searched and found a very good video for you regarding the movement of the game object through different functionalities . The key press always work in the update method but to move the game object there are different methods explain in the below video . I made my game and used the start method but i called the update method as it always work frame by frame . and in the update method we can apply different functionalities link [this video]

Recommends Elver David Båshus · 2022-05 · Stack Overflow · on “In Unity, how can I get the coordinates of the position of this object?”

This is a very unclear question, be more precise. If you want to move the object, then these videos might help: [this video] [LINK] If you want to see the coordinates for your object, then click on the "transform" tab. If you want to set coordinates of an object in script, then look here: [LINK]

Cites ZapperPaddy · 2023-07 · Stack Overflow · on “Topdown 2d movement script not working relating to rb2D.position”

My topdown 2d movement script isn't working (ie when I input a horizontal input the player character does not move) & I really have no I idea why (although I'm sure the solution is simple; I'm still new to C# & unity) I've attached the player movement script to a game object with a: Transform Sprite Renderer RigidBody2D (Dynamic & simulated = false) RigidBody2D Settings [LINK] The Code: // This is attached within Unity (I know I can do it in the code; the only reason I don't is so that I can confirm it is the correct RigidBody2D attached to the script) public Rigidbody2D rb2D; // Serialize Field so I can set the float size within unity for debugging [SerializeField] float moveSpeed; private