Тёмный

4 Unity Destruction Libraries Compared - Which is best for you? 

LlamAcademy
Подписаться 23 тыс.
Просмотров 16 тыс.
50% 1

In this video I'm comparing 4 popular Unity destruction libraries from totally free all the way up to $215 per seat! I talk about the pros, cons, limitations, and my own personal feeling about each one to help you make an informed decision on which one will suit your game's needs the best.
Assets Compared:
💣 Destroy It: assetstore.unity.com/packages...
💣 OpenFracture: github.com/dgreenheck/OpenFra...
💣 DinoFracture: assetstore.unity.com/packages...
💣 RayFire: assetstore.unity.com/packages...
💸 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...
👨‍💻 Because these are primarily paid assets, I cannot give you the GitHub repository.
❤ Believe in LlamAcademy's mission and have received value from the videos? Become a Patreon Supporter or RU-vid Member:
⚫ Patreon: / llamacademy
⚫ RU-vid Member: / @llamacademy or click the Join button on any video
📱 Let's stay connected
RU-vid: / 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 Introduction
01:14 DestroyIt
04:35 OpenFracture
08:30 DinoFracture
11:22 RayFire
14:45 Problematic Fracturing Demo
16:08 Large Scale Destruction Considerations
18:10 Support LlamAcademy

Опубликовано:

 

31 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 72   
@LlamAcademy
@LlamAcademy Год назад
There are a lot of questions regarding performance in the comments. Below are the profiling stats on my machine, in editor (it was a little harder to get these in a build for you so quickly - sorry!), for the demo scene I constructed. Each scenario is using as close to the same configuration in the respective system as possible, and the meshes being fractured are identical across all libraries. Each scenario includes the default Unity Sphere mesh and the respective shattered object (sphere and shattered object targeting 25 sub pieces each) 1. a Pipe with top face open 320 vertices, 192 triangles (2 submeshes) 2. a Torus with 1088 vertices, 768 triangles (2 submeshes) fully closed 3. a Door with the exterior as open faces. 36 vertices, 26 triangles (1 mesh) 4. a Door + Arch mesh with the door having open faces on the exterior. 240 vertices, 158 triangles (1 mesh) In general, OpenFracture was the fastest unless we are reusing object fragments in RayFire (remember OpenFracture is also the worst results, no other system supported "reset" functionality that reused objects except RayFire), RayFire was second (including when spawning particle systems), DinoFracture was the slowest. DinoFracture generates far less garbage than any other system. OpenFracture results: 1. Pipe: ~50ms 5.2MB garbage 2. Torus: ~74ms 4.8MB garbage 3. Door: ~133ms 6.3MB garbage 4. Arch: ~56ms 5.6MB garbage RayFire (particles / pooled). Interestingly, spawning particle systems does not meaningfully impact the performance here. 1. Pipe: ~190ms 3.5MB garbage / 1.4ms 8.4KB garbage 2. Torus: ~77 + 134ms 1.8MB + 3.0MB garbage (2 separate frames happen in the scenario) / 1.5ms 9.1KB garbage. Secondary frame barely shows on profiler, hard to identify with certainty. 3. Door: ~240ms 2.3MB garbage / 1.4ms 7.9KB garbage 4. Arch: ~78ms 1.1MB garbage / 1.7ms 9.9KB garbage DinoFracture: 1. Pipe: ~260ms 221KB garbage 2. Torus: ~245ms 370KB garbage 3. Door: ~403ms 198KB garbage 4. Arch: ~252ms 309KB garbage
@TheRoarer
@TheRoarer Год назад
Pipe: ~50ms 5.2MB garbage. MEGABYTES. My 27 bytes every few dozens frames is looking a lot less problematic. lol Thanks for the getting this data to us so fast Chris! You're amazing!
@davidhoyt6198
@davidhoyt6198 Год назад
Great video as usual. I really appreciate you doing this and hope you'll do more comparison/review type videos like this in the future!
@treybriggs5232
@treybriggs5232 Год назад
This was so perfect and exactly what I was looking for right now! Thank you as always. These types of breakdowns and testing help a lot.
@rapidfiregames_
@rapidfiregames_ Месяц назад
Really good comparison! There are so many cool assets on the Asset Store, but they just take so much time to use and integrate! I love seeing someone take the time and show the pros/cons to each
@DetectivePoofPoof
@DetectivePoofPoof Год назад
This is actually really great! We definitely need more objective and in-depth "asset review" type videos in general.
@ewwitsantonio
@ewwitsantonio Год назад
Just discovered your channel today. Such great content!! Took a while for your channel to show up in my feed (strangely!) but glad it finally did. Looking forward to looking through your videos :)
@MatrixRex05
@MatrixRex05 Год назад
Love this compare asset video format! Would love more of this kind.
@StevenBloomfield
@StevenBloomfield Год назад
Good stuff! Thanks for the reviews, would definitely like to see more.
@pgumby
@pgumby Год назад
Great video, I appreciate the reviews so in the future if I'm looking for destruction, I have a good reference.
@dreamisover9813
@dreamisover9813 Год назад
Wow, rayfire is really impressive. Thanks for taking your time (and money for some assets) to compare them for us!
@LlamAcademy
@LlamAcademy Год назад
It was definitely an expensive video to make 😅. I had a lot of fun and, well now I have RayFire I can use so no reason not to 😁
@jorhoto7064
@jorhoto7064 Год назад
Great video as always, keep up the great work ;)
@L1DER32
@L1DER32 Год назад
that is super useful, thanks for the cool video!
@Director414
@Director414 Год назад
Thanks a lot, really good video! You are a hero!! :)
@bluzenkk
@bluzenkk Год назад
love this series of comparing popular unity assets. I've always wonder if I have made the right purchasing dicision
@CharlieFleed
@CharlieFleed Год назад
Great video. Thank you!
@djcybercorgi
@djcybercorgi Год назад
Awesome video dude!!! Subbed
@oldshamen
@oldshamen Год назад
This is excellent!! Unbiased reviews like these are rare. Often the content creator is gifted the assets and might therefore not provide an unbiased review - or might not be as critical when talking about limitations. Great stuff. One thing to consider: In many of your videos you see some stutter when fracturing some objects. Would be great if you also put som emphasis on the performance of the assets. Like, are they fit for mobile etc.
@LlamAcademy
@LlamAcademy Год назад
Thanks for the feedback! I can see I didn’t cover the performance in depth, mostly the performance of fracturing was similar. There is some stutter because the runtime fracturing is an expensive task. The slicing is computationally expensive, then a bunch of new game objects need to be created, then a bunch of components (colliders, rigid bodies, maybe additional scripts) need to be added. Possibly particle systems need to be instantiated as well. In all of the fracturing libraries they offer in-editor pre computing of this so you can do a runtime swap / activation of the pre-destroyed mesh which basically eliminates the stutter, unless the physics system can’t keep up because too many active objects or something. This of course loses the runtime dynamism of impact positions, but this is probably not necessary on mobile. Depending on the scale If you’re using pre fractured meshes, I would imagine this is feasible for mobile. Runtime fracturing is probably not feasible for anything but the highest end mobile devices if you’re doing more than small, simple destruction. Small like box fracturing to maybe 10-20 pieces is probably feasible, but for that it can also just be precomputed to perform better.
@LlamAcademy
@LlamAcademy Год назад
Just an update - I profiled the demo scene and pinned the comment at the top with the runtime fracturing performance metrics of each one including CPU time and garbage generated!
@Massive-3D
@Massive-3D Год назад
Watch how effortlessly I implement these ideas at zero cost. Thank you sir once again for the very informative video. I learned several somethings!
@LlamAcademy
@LlamAcademy Год назад
Awesome 😎!
@fmproductions913
@fmproductions913 Год назад
Oh I love this topic! Haven't watched the video yet or implemented this in any of my project, but there has been an open source library called "Unity Libre Fracture" which looked interesting too.
@LlamAcademy
@LlamAcademy Год назад
Ooh another open source one? I’ll have to check it out!
@brubcruz
@brubcruz Год назад
Nice video man! Well explained. Especially when you warned that implement destruction on a game is not so simple as add an script and everything just works! I bought rayfire some years ago in a 70% or 50% sales. I agree that 205$ is REALLY expensive. By the way, right now it is in 50% lol
@K0BRAKID
@K0BRAKID 5 месяцев назад
dude thanks for this!!
@LlamAcademy
@LlamAcademy 5 месяцев назад
👍
@mrpinkdev
@mrpinkdev Год назад
Thank you
@odo432
@odo432 Год назад
I regret not getting Rayfire when it was part of a Humble Bundle package. Hoping it is included in a future bundle. At over $320 AUD I just can't justify the cost. Especially when you can get just as good, or better, results with Blender or with the Unreal Engine using Chaos both which are for free.
@sdev6124
@sdev6124 Год назад
I really like this video, if possible can you make another video about voxel destruction in uniy
@Nebulaoblivion
@Nebulaoblivion Год назад
Very cool, I'd looked at some of these assets and wasn't really sure about any of them, so its nice to see an objective, trustworthy third party person bite the financial bullet and try them all out
@branidev
@branidev Год назад
I am using "Destructible 2D" which is main feature of my top-down game
@Eduard02834
@Eduard02834 Год назад
Its not expensive 215$ for asset like RayFire, you meed to hire full team of senior devs for 3 months , to get framework like this and spending over 15k $ of every month
@mesutyavuzx
@mesutyavuzx 2 месяца назад
nope. i found on web as free. thank you
@LlamAcademy
@LlamAcademy 2 месяца назад
@mesutyavuzx that is theft and you don’t have the proper license to use it in your game, which can result in being sued.
@Hazzel31337
@Hazzel31337 Год назад
nice asset review, was also a bit dissapointed with destroy it, if you cant model and make your own destroyed models, its only useful if you cant code OnCollision events yourself, i found.
@LlamAcademy
@LlamAcademy Год назад
Thanks 🙂!
@Hazzel31337
@Hazzel31337 Год назад
@@LlamAcademy thank you for helping me make my game dev dream become reality :D
@neilfosteronly
@neilfosteronly Год назад
I have Destroy It. Creator gets back to me fast. But it takes too much time for me to set everything up. So never used in real project. Dino Fracture I got in a humble bundle and one of first paid assets I ever used. It is simple to set up for a newbie. I mainly use it for breaking glass and doors for PC VR. Rayfire looks great but cost so much and don't really need right now. Do you have a video like this for Slicing? I think Rayfire also has a Slice option. No slice I have used has worked on high poly models. Thanks for the video
@bluzenkk
@bluzenkk Год назад
i got ray fire in 2021 for 85 during sales when it was 170 usd at that time. so i guess if ray fire is that good, one might consider buying it early or wait til Unity buys it out.
@LlamAcademy
@LlamAcademy Год назад
That's a great deal!
@miransheix3351
@miransheix3351 Год назад
hello, can you please make a video about texture cutter destruction the way that rainbow six use for wall destruction
@dekenfnombre9143
@dekenfnombre9143 Год назад
i have 2 its dinofracture and destroyit
@bluzenkk
@bluzenkk Год назад
Can you make one for odin inspector and Gaia Pro too. For they are expensive dicisions to make as well.
@LlamAcademy
@LlamAcademy Год назад
I will take those as possible assets to review, for sure! Thank you for the recommendation
@Draekdude
@Draekdude Год назад
Great video! I recently got Destroy It in a Humble Bundle and then bought Rayfire for 50% off. Are there any cases when you would use Destroy It over Rayfire? Also, any chance you could try out Animancer? I bought it, but suck at reading documentation and want to try it out.
@LlamAcademy
@LlamAcademy Год назад
Honestly, if you already have DestroyIt, you might as well use it. It isn’t BAD. It’s just more expensive than I feel it’s worth. You can reasonably implement the majority of that functionality in a few hours. If it’s already implemented for you, you could save those hours. I can’t imagine using DestroyIt over RayFire. You can trigger explosions pretty easily with RayFire on activate so even if your fracturing needs to be super cheap where it just spawns gibs and an explosion…RayFire can do that. But I have them both now. If you’re looking to buy an asset… for cheap destruction where you DON’T need a destroyed mesh with physics objects, I wouldn’t recommend to buy either. Follow my tutorial about destroying objects instead, spawn cheap particles and an explosion system.
@martindubois9279
@martindubois9279 Год назад
@@LlamAcademy weird because i prefer destroy it over rayfire because it's more realist. i don't really use the particle one and i swap model on collision for better performance. i also like the fact that you can make any model immune to damage or even give some hp to any 3d model like a real damage system
@arunachalpradesh399
@arunachalpradesh399 Год назад
hi , i heard creating destruction animation in blender and importing in unity is more efficient in term of resources
@LlamAcademy
@LlamAcademy Год назад
There is no difference between using a prefractured mesh from DinoFracture / OpenFracture / RayFire and a prefracuted mesh from Blender or Maya. It’s just a workflow difference to use it all in editor. Now runtime destruction itself, you can see the stutters that happen even in this video and the metrics in the pinned comment. Prefractured is definitely way more performant
@lowtv2066
@lowtv2066 Год назад
Trust ne you ate best unity programmer in the world but ypu will be beter without this haircut❤️❤️
@TheRoarer
@TheRoarer Год назад
Haha, the absolute PAIN talking about how expensive Rayfire is. Edit: Next time I would like to see the performance impact in frametime between the different assets. I don't need anything extensive, but I would like to know the performance between each of them. Even just a slide stating the delta. That's definitely my biggest hurdle when thinking about assets.
@LlamAcademy
@LlamAcademy Год назад
I think that’s the biggest feedback so far. They were all pretty fast on the fracturing. Most of the frame lag you see is from the new object generation and component adding. Maybe I can run some tests on the demo scene and post the numbers in the comments for everyone! Edit: Pinned a comment with performance metrics for each fracturing library for runtime fractures. Precomputed fractures runtime performance is largely the Physics system's responsibility so the performance differences there will be minimal.
@troybeardjr
@troybeardjr 7 месяцев назад
....i always think and see the name as "Liam Academy"
@awesomeniac
@awesomeniac Год назад
Did you tried Libre Fracture? it's open source and using Nvidia Blast
@LlamAcademy
@LlamAcademy Год назад
I have not yet. Somebody else mentioned that. I'm looking forward to checking it out!
@ChaitanyaDhareshwar
@ChaitanyaDhareshwar 6 месяцев назад
I know you tried to make this a real REAL comparison, but this is like such a 'mud vs clay vs tile vs Gold' situation, you know?
@henriqued.7271
@henriqued.7271 11 месяцев назад
Nice hair
@LlamAcademy
@LlamAcademy 11 месяцев назад
Thanks 🙂
@teh1archon
@teh1archon Год назад
I wanted to buy rayfire for so long but with 70% off the price it's too much for a "toy" since the destruction game I aim for is for Unreal engine.
@KHos73
@KHos73 Год назад
Rayfire is way to expensive I feel.
@LlamAcademy
@LlamAcademy Год назад
It is expensive for sure. Depending on your game's use case for destruction, maybe too expensive, maybe not. If I paid myself $1 a day to implement fracturing, I'm not sure I'd get as good of a system as RayFire has before it was cheaper to buy it 😅
@KHos73
@KHos73 Год назад
@@LlamAcademy You'd need a special use case to justify rayfire I think.
@Zihan118
@Zihan118 Год назад
I think you can ask the asset developer for a copy of their assets for reviewing in your channel, in this way you at least won't have to put hundreds $ on making of videos like these.
@LlamAcademy
@LlamAcademy Год назад
Definitely exploring that option in the future. Since I hadn't done any asset comparisons or reviews yet I didn't feel that would be met warmly. A couple of other publishers I did ask for other videos summarily ignored my request 🙂
@luaykashef
@luaykashef Год назад
215$ 🤣
@diligencehumility6971
@diligencehumility6971 Год назад
Why the blue hair. What happen to modesty and decency
@LlamAcademy
@LlamAcademy Год назад
Not sure how hair color has anything to do with decency or modesty 🤔
Далее
Watch This Before Working on a Big Game in Unity
18:44
Просмотров 293 тыс.
The Most Controversial Children's Book in History
40:38
Вопрос Ребром - Субо
49:41
Просмотров 1,4 млн
кукинг с Даниилом 🥸
01:00
Просмотров 998 тыс.
Soft Body Physics in Unity
8:04
Просмотров 4,4 тыс.
I Used Godot For 100 Hours, Here’s What I Learned
35:09
Should you use Unity 6 to develop your Game?
25:28
Просмотров 41 тыс.
Giving Personality to Procedural Animations using Math
15:30
Coding Adventure: Portals
16:06
Просмотров 1,3 млн