View by Component
Physics , Physics 2D , Audio , UI , Tilemap , Cinemachine , Timeline , Network , Animation , Animator , Sprites , Scripting , Tips , Colliders , 2D Colliders , Rigidbody , Rigidbody 2D , Interaction , Editor , Game Mechanics , In-App Purchase , Material , General , Prefab , ProGrids , Light , Rendering , Ads , Scriptable Objects , Events , Level Design , Making Of , Assets , Procedural , ProBuilder , Particles , Machine Learning , News & Announcements , Conference , Enemy & NPC , PlayerPrefs , Post Processing , Interview , Shader , VFX , TextMeshPro , InputSystem , XR
Click to Move in 3D w/ Input System - Unity Tutorial
Uploaded by samyamShare: Twitter Facebook
Want to start a career in game development? Learn more about SNHU's program: https://snhu.edu/samyam Thank you to SNHU for sponsoring this video!
? Get the Source Code ?
https://www.patreon.com/posts/60737375
? Support Me ?
Patreon: https://www.patreon.com/samyg
Donate: https://ko-fi.com/samyam
In this video I'll show you how to use the new Input System to move your player to where your mouse has clicked in 3d space. I show you how to move the player with MoveTowards, the CharacterController component, and a Rigidbody component to fit your needs. We will then rotate the player to face the direction it is moving in, and also filter out certain objects from being selected with layers.
??THANK YOU TO ALL MY PATRONS ??
►⏱️ Timestamps ⏱️
0:00 Intro
2:04 Click to Move with MoveTowards (Ignores Collisions)
12:37 Fix Player Passing through Floor
13:41 Moving with a CharacterController
16:26 Moving with a Rigidbody
19:19 Rotate Player Towards Moving Direction
20:39 Filter Out Objects with Layers
22:56 Outro
❯❯❯ My Links ❮❮❮
? Patreon ?
https://www.patreon.com/samyg
? Discord Server ?
https://discord.gg/SwCKB3Q
? Twitter ?
https://twitter.com/samyam_utube
? Facebook ?
https://www.facebook.com/samyam.youtube/
? Music ?
Ambient Gold
streambeats.com
? Like and Subscribe! ?
?️ Computer Setup ?️
*As an Amazon Associate I earn from qualifying purchases.
https://www.amazon.com/shop/samyam
Disclosure: This post may contain affiliate links, which means we may receive a commission if you click a link and purchase something that we have recommended. While clicking these links won't cost you any money, they will help me fund my development projects while recommending great assets!
#madewithunity #gamedev #unity
? Get the Source Code ?
https://www.patreon.com/posts/60737375
? Support Me ?
Patreon: https://www.patreon.com/samyg
Donate: https://ko-fi.com/samyam
In this video I'll show you how to use the new Input System to move your player to where your mouse has clicked in 3d space. I show you how to move the player with MoveTowards, the CharacterController component, and a Rigidbody component to fit your needs. We will then rotate the player to face the direction it is moving in, and also filter out certain objects from being selected with layers.
??THANK YOU TO ALL MY PATRONS ??
►⏱️ Timestamps ⏱️
0:00 Intro
2:04 Click to Move with MoveTowards (Ignores Collisions)
12:37 Fix Player Passing through Floor
13:41 Moving with a CharacterController
16:26 Moving with a Rigidbody
19:19 Rotate Player Towards Moving Direction
20:39 Filter Out Objects with Layers
22:56 Outro
❯❯❯ My Links ❮❮❮
? Patreon ?
https://www.patreon.com/samyg
? Discord Server ?
https://discord.gg/SwCKB3Q
? Twitter ?
https://twitter.com/samyam_utube
? Facebook ?
https://www.facebook.com/samyam.youtube/
? Music ?
Ambient Gold
streambeats.com
? Like and Subscribe! ?
?️ Computer Setup ?️
*As an Amazon Associate I earn from qualifying purchases.
https://www.amazon.com/shop/samyam
Disclosure: This post may contain affiliate links, which means we may receive a commission if you click a link and purchase something that we have recommended. While clicking these links won't cost you any money, they will help me fund my development projects while recommending great assets!
#madewithunity #gamedev #unity