I started unity! Already need help...

How do i make my character move?

Welcome to the forums.

Have you done any of the tutorials yet? There are a ton available on Unity Learn.

2 Likes

Do what @Schneider21 suggested and/or read through the documentation.

But to address your question a bit, there are 3 primary kinds of movement in Unity.

  • Manipulating the Transform component directly - Every GameObject in Unity has a Transform component, which basically places it somewhere in the world space. The Transform has position and rotation properties. You can manipulate the transform.position and transform.rotation directly to move and rotate the object. There’s also handy functions like transform.Translate which do some of the movement work for you.
    Unity - Scripting API: Transform.Translate

  • Physics based movement - You can leverage the physics system to handle the movement of the GameObject. This means adding a Rigidbody or Rigidbody2D to the object, then in code either applying forces to the object or manipulating the velocity of the object directly.

  • CharacterController - The CharacterController is a weird one, because it uses the physics system while giving you movement control that is much different than adding forces like pure physics based movement.

You should be able to google more information on each kind of movement, and find examples or tutorials.

1 Like