samyam | Click to Move in 3D w/ Input System - Unity Tutorial @samyam | Uploaded May 2022 | Updated October 2024, 7 minutes ago.
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.
แ Get the full Source Code Bundle to my Unity Tutorials ๐ค
sam-yam.itch.io/samyam-full-source-code-to-all-videos
๐ฅ Get the Source Code ๐ฅ
patreon.com/posts/60737375
Wishlist my new game BUMBI on Steam!
store.steampowered.com/app/2862470/BUMBI
๐ค Support Me ๐ค
Patreon: patreon.com/samyg
Donate: ko-fi.com/samyam
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.
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!
๐๐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 ๐
patreon.com/samyg
๐ฌ Discord Server ๐ฌ
discord.gg/SwCKB3Q
๐ฆ Twitter ๐ฆ
twitter.com/samyam_utube
๐ Facebook ๐
facebook.com/samyam.youtube
๐ต Music ๐ต
Ambient Gold
streambeats.com
๐ Like and Subscribe! ๐
๐ฅ๏ธ Computer Setup ๐ฅ๏ธ
*As an Amazon Associate I earn from qualifying purchases.
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
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.
แ Get the full Source Code Bundle to my Unity Tutorials ๐ค
sam-yam.itch.io/samyam-full-source-code-to-all-videos
๐ฅ Get the Source Code ๐ฅ
patreon.com/posts/60737375
Wishlist my new game BUMBI on Steam!
store.steampowered.com/app/2862470/BUMBI
๐ค Support Me ๐ค
Patreon: patreon.com/samyg
Donate: ko-fi.com/samyam
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.
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!
๐๐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 ๐
patreon.com/samyg
๐ฌ Discord Server ๐ฌ
discord.gg/SwCKB3Q
๐ฆ Twitter ๐ฆ
twitter.com/samyam_utube
๐ Facebook ๐
facebook.com/samyam.youtube
๐ต Music ๐ต
Ambient Gold
streambeats.com
๐ Like and Subscribe! ๐
๐ฅ๏ธ Computer Setup ๐ฅ๏ธ
*As an Amazon Associate I earn from qualifying purchases.
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