There are a surprisingly large number of challenges that you run into when trying to get "aiming" right. This week in the Gun Series I'll discuss 3 common implementations for aiming in games, the pros and cons of each one, and we'll even implement them so you can pick which one fits your game the best!
💸 Ongoing sales 💸
⚫ Check out the latest Humble Bundles www.humblebundle.com/software...
⚫ Publisher Sale! 50% OFF an entire publisher's Assets! Publisher changes weekly! assetstore.unity.com/publishe...
⚫ Save up to 50% on NEW Assets: assetstore.unity.com/?new_sal...
👨💻 As always, all code from this video is available on GitHub: github.com/llamacademy/script...
📚 Resources:
⚫ Visualization of the problem with Raycast from Camera: forums.unrealengine.com/t/thi...
❤ Believe in LlamAcademy's mission and have received value from the videos? Become a Patreon Supporter or KZitem Member:
⚫ Patreon: / llamacademy
⚫ KZitem Member: / @llamacademy or click the Join button on any video
📱 Let's stay connected
KZitem: / llamacademy
Patreon: / llamacademy
Facebook: / llamacademyofficial
Twitter: / thellamacademy
TikTok: / llamacademy
Instagram: / llamacademy
----
Most tutorials come from knowledge gained making survival.llama.software Llama Survival - a top-down zombie survival shooter for Android and iOS.
I also have some Unity Assets: assetstore.unity.com/publishe...
Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.
#unitytutorial #tutorialtuesday #gamedev #tutorial #unity #llamacademy #gamedevelopment
Chapters:
00:00 Summary of Solutions
01:00 Option 1 Pros and Cons
02:43 Option 2 Pros and Cons
03:46 Option 3 Pros and Cons
05:27 Define ShootType.cs
05:38 Support ShootType on ShootConfigScriptableObject.cs
05:46 Shoot from Camera in GunScriptableObject.cs
09:14 Give Camera to GunSO in PlayerGunSelector.cs
09:22 Hook up References & Demo
10:30 Show Accurate Crosshair in PlayerAction.cs for FromGun ShootType
12:55 Demo 2 with Accurate Crosshair with ShootType.FromGun
13:48 Closing & Support LlamAcademy
Негізгі бет Accurate Aiming Options Discussed & Implemented | Gun Series 7 | Unity Tutorial
Пікірлер: 24