@samyam
  @samyam
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
Click to Move in 3D w/ Input System - Unity TutorialEasy Joystick for Mobile with Input System in Unity

Click to Move in 3D w/ Input System - Unity Tutorial @samyam

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER