The New Way for Making a Character Move - New Input System Player Movement - Unity Tutorial

preview_player
Показать описание
Getting a character to move in your Unity game engine takes some understandment. In this tutorial you will learn how the New Input System works and how you use it to move a 2D character. By combining a Sprite Renderer and a Rigidbody2D we will make moving as simple as possible. This tutorial is focused to be beginner-friendly and explains all the steps that happen.

Building op on this we will animate the character and add colliders in the upcoming episode.

Relevant Videos:

=========

=========

Timestamps:
00:00​ - Intro
00:35 - Setup the Project
01:19​ - Download the Character
01:43 - Configure the Character Sprite
03:13 - The Player Game Object
03:​53 - Installing the New Input System
04:35 - Define the Controls
06:38 - Updating the Player Components
07:38 - The PlayerMovement Script
11:27 - Moving the Rigidbody (V1)
14:11 - Adding a Speed Variable
16:00 - Changing the Velocity (V2)
17:54 - Using AddForce (V3)
19:05 - Thank you for watching :)
Рекомендации по теме
Комментарии
Автор

Your soothing voice makes these tutorials even better. Thanks for your help.

patrickmbarker
Автор

This is a very clear, concise, and well-organized tutorial. Nice work!

bkplantnurse
Автор

I have seen five or six tutorials and this is the only one that follows the Input System docs. Thank you

lucaHardmeier
Автор

Just getting started learning game development with Unity. After several hours of trying to get my character moving properly, this video did the trick. Thanks for the great content!

thenewaeon
Автор

This is the single tutorial that worked for me and i try to do a characther controller for about 3 months. Everiything works very cool thanks for ur tutorials

stenbane
Автор

Thank you for your valuable tips! Congratulations on the games featured on your website, especially Through the Dark S2. I appreciate the experience. When I see the garden, it brings so much happiness to me and a freedom sense, thank you.

saulolima
Автор

Great tutorial. Everything was well-explained and clear to understand. Thank you for sharing :)

BitStudios
Автор

I literally watched and read a bunch of videos and articles about this and I didn't understand or learn anything until now. Big Cheers to you!

abelanand
Автор

for enyone wondering if it works to this day. it does 100%. this is verry clean!

nutella
Автор

Thank you for the clear tutorial. It's so much fun to try it out with my two children.

maiksrba
Автор

Absolutely brilliant, will be trying this today as it looks a much better way to move my character compared to other tutorials I've done.

Chaoslava
Автор

Thanks for this, I appreciate you showing the three physics movement examples

scronk
Автор

You are MVP Velvary. Thanks for your videos! :D You've got a new subscriber.

mikicerise
Автор

Good clean explaination. I like how you explain 3 way. That was devs can give there game it's own feel...

puntalic
Автор

Отличное видео, прекрасно всё объяснено и показано :) Жаль, что автор не балует нас новым материалом. В любом случае большое спасибо и успехов :)

teoreat
Автор

This was incredibly helpful, thank you :)

ShayansJourney
Автор

Amazing video. Thank you so much !! This helped me so much

carlosrd
Автор

Your tutorial has helped me a lot. You made it very easy to understand. Thank you.

ventus_dev
Автор

Nice video, you helped me a lot thank you very much :D

marcoscastrovasquez
Автор

How does the InputValue value know what is the correct Vector 2 to get? moveDirection = value.Get<Vector2>(); Is it because there is only one Vector2 in the Input Actions?

neilfosteronly