Загрузка...

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

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 🤓
https://sam-yam.itch.io/samyam-full-source-code-to-all-videos

📥 Get the Source Code 📥
https://www.patreon.com/posts/60737375

Wishlist my new game BUMBI on Steam!
https://store.steampowered.com/app/2862470/BUMBI/

🤝 Support Me 🤝
Patreon: https://www.patreon.com/samyg
Donate: https://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 💗
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

Видео Click to Move in 3D w/ Input System - Unity Tutorial канала samyam
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять