Procedural Mesh & Animation with the Official Unity Spline Package | Unity Tutorial

Опубликовано: 16 Апрель 2024
на канале: LlamAcademy
3,077
128

Learn how to use the Unity Spline Package to generate a smooth procedural mesh between a set of points.
We'll dive into:
⚫ How to use the Official Unity Spline Package
⚫ How we can Animate a Spline at Runtime with MATH!
⚫ Challenges with Animating that Spline

👨‍💻 As always, all code from this video is available on GitHub: https://github.com/llamacademy/chicke...
🎮 Play Chicken Defense FREE on Itch.io: https://llamacademy.itch.io/chicken-d...

🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?sect...

📚 Resources:
⚫ Unity Spline Package Docs: https://docs.unity3d.com/Packages/com...
⚫ Mathy Definition of a Spline: https://en.wikipedia.org/wiki/Spline_...)

🧡 Believe in LlamAcademy's mission and have received value from the videos? Here's how you can show your support:
🌟 Patreon:   / llamacademy  
🌟 YouTube Member:    / @llamacademy   or click the Join button on any video
📚 Take my Unity ShaderGraph Course:
https://www.gamedev.tv/p/unity-shader...
👕 Get yourself some LlamAcademy merch: https://llamacademy.myspreadshop.com/
💸 Use my Affiliate Link for Humble Bundles https://humblebundleinc.sjv.io/9g4ak4
💸 Publisher Sale! 50% OFF an entire publisher's Assets! Publisher changes weekly! https://assetstore.unity.com/publishe... (affiliate)
💸 Save up to 50% on NEW Assets: https://assetstore.unity.com/?new_sal... (affiliate)

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

Chapters:
00:00 Topic Introduction
00:25 What is a Spline?
01:36 Get the Spline Package & SAMPLES!
02:12 Making a Procedural Snake
04:08 Spline Extrude Component (from Package)
05:28 Animate the Spline with SnakeSplineAnimator (SnakeSplineAnimator.cs)
08:05 Performance Analysis
09:15 Closing Thoughts & How to Support LlamAcademy