How to Avoid Ghost Collisions | Unity Tutorial




In this tutorial you’ll learn WHY ghost collisions happen as well as a couple of ways you can avoid ghost collisions.
Ghost collisions are when objects collide when it appears there is nothing to collide with!

👨‍💻 As always, all code from this video is available on GitHub: https://github.com/llamacademy/minigolf

🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?section=personal&billing=yearly

📚 Resources:
⚫ Play the Full Game on Itch: https://llamacademy.itch.io/minigolf
⚫ Havoc Physics: https://docs.unity3d.com/Packages/com.havok.physics@1.3/manual/configuration.html
⚫ Sunny Valley Studio (thanks for the great information 🧡): https://www.youtube.com/@SunnyValleyStudio
⚫ Unity Physics Talk: https://youtu.be/lByTnRq7xnY?si=dUfazQHg8jnrJ0PM
⚫ Physics Contact Event Docs: https://docs.unity3d.com/ScriptReference/Physics.ContactModifyEvent.html

🧡 Believe in LlamAcademy’s mission and have received value from the videos? Here’s how you can show your support:
🌟 Patreon: https://www.patreon.com/llamacademy
🌟 YouTube Member: https://www.youtube.com/channel/UCnWm6pMD38R1E2vCAByGb6w/join or click the Join button on any video
📚 Take my Unity ShaderGraph Course:
https://www.gamedev.tv/p/unity-shader-graph?affcode=45216_kuvg0bp7
👕 Get yourself some LlamAcademy merch: https://llamacademy.myspreadshop.com/
💸 Use my Affiliate Link for Humble Bundles https://www.humblebundle.com/software?partner=llamasoftware&charity=2280172
💸 Publisher Sale! 50% OFF an entire publisher’s Assets! Publisher changes weekly! https://assetstore.unity.com/publisher-sale?aid=1101l9QvC (affiliate)
💸 Save up to 50% on NEW Assets: https://assetstore.unity.com/?new_sale=true&orderBy=1&aid=1101l9QvC (affiliate)

Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.

#unitytutorial #gamedev #tutorial #unity #llamacademy #gamedevelopment #opensource

Chapters:
00:00 Topic Introduction
01:25 Why Do Ghost Collisions Happen?
02:32 Solutions Explored in this Video
03:07 Example Scene Overview
03:55 Solution 1 (the hack)
04:55 Solution 2 (full control)
08:05 BONUS SOLUTION
08:55 How to Support LlamAcademy

Voir sur youtube

KA2Studio
Logo
Compare items
  • Total (0)
Compare
0