Godot 4 - How to Fracture or Destroy objects

  Рет қаралды 11,426

Le Lu

Le Lu

Күн бұрын

Пікірлер: 69
@silencedogood2268
@silencedogood2268 24 күн бұрын
The optimization step at the end with the jolt intro was incredible. I hear "other physics library" and panic because I think my code will all have to change... you just showed in 20 seconds how simple it all was. Nice. I'm gonna go 10x all my variables now...
@Le_x_Lu
@Le_x_Lu 24 күн бұрын
Yes, its very simple... but, also.. the new upcoming version of Godot 4.4 will release soon.. and that new version will include Jolt Physics by default inside Godot.. 🙂
@5ol3hi1b
@5ol3hi1b 2 ай бұрын
If you don't wanna use Jolt and rely on physics, you can use multimesh and gpuparticles. Sometimes, have the object already on the scene is better than instantiate, just switch the position. It's all about optimization in the end if your game needs it.
@Le_x_Lu
@Le_x_Lu 2 ай бұрын
thank you for your comment .. agreed.. using particles is a very efficient way to do it.. I've used that method a lot for destroying small objects, or objects that are far away from the player (like 3rd person shooters)..👍
@-joker2010
@-joker2010 Ай бұрын
@@Le_x_Lu can u do a 3d particle emission?
@Le_x_Lu
@Le_x_Lu Ай бұрын
@@-joker2010 I'm planning to do a similar workflow later on.. in another tutorial about ground damage and effects..
@-joker2010
@-joker2010 Ай бұрын
@@Le_x_Lu great. i honestly wants to see that. cause ive never seen particle emission for 3d
@blikpils
@blikpils 2 ай бұрын
The jolt comparison at the end is great! amazing work!
@randomjimbitz512
@randomjimbitz512 2 ай бұрын
I can't thank you enough for explaining things far more completely than most... too many people are trying to teach you something far too fast and they skip so much... ie Learn "some in depth subject" in under 5 min... I personally like the long form stuff... TLDR... you are awesome thanks!!!
@Le_x_Lu
@Le_x_Lu 2 ай бұрын
I appreciate your kind comment 🙂 and I agreed 100%, I think its more easy and interesting to understand the core concept despite of memorizing it.. so I really put all my efforts to explain all the details..
@bark-n-butter
@bark-n-butter 2 ай бұрын
Awesome work as always LELU!
@Le_x_Lu
@Le_x_Lu 2 ай бұрын
Hey Matt.. thanks mate 🤍
@Lowwaels
@Lowwaels 2 ай бұрын
your live saver for action games
@tars6680
@tars6680 2 ай бұрын
Your video is the most detailed, comprehensive, and easy-to-understand one I have ever seen. Thank you!
@quintin1561
@quintin1561 2 ай бұрын
In blender just add -col to end of each object and it will have a collision shape when imported. Preferably you could do a batch rename then add -col to end of object
@Le_x_Lu
@Le_x_Lu 2 ай бұрын
thats a very usefull tip 🤍 will try that, thank you so much..
@creepyinteractive214
@creepyinteractive214 2 ай бұрын
If you add -rigid instead of -col, Godot will import it as a rigid body with collisions, ready to go.
@charatjeeravipoolvarn464
@charatjeeravipoolvarn464 22 күн бұрын
@@creepyinteractive214 thank you save a lot of time
@rremnar
@rremnar 2 ай бұрын
This is a nice effect, and I've been using it for an effect in my game. Though originally I'd do the physics in Blender and bake the animations. Only recently, have I been able to create the same effect, but with randomness using Godot's physics (which are crap btw). I installed the jolt add on and it can handle a lot more, but not by much. Each of my cell fractured import objects have over a 100 pieces. Godot's default physics engine can barely handle 4 of those. Jolt can handle about 20 before the fps starts to drop.
@Le_x_Lu
@Le_x_Lu 2 ай бұрын
thank you for sharing your experience. 🤔 that's very interesting, so it would be 20 x 100 pieces = 2000 physics pieces (+or more if there are multiple materials).. I'm wondering if that is a CPU or GPU overflow.. for instantiating all these objects... how many Resources do you have in the scene? maybe its possible to solve it if its a CPU overflow.. by using C++ (GDExtensions) instead of default GDScript code..
@jermania7467
@jermania7467 2 ай бұрын
Awesome tutorial. Love your concept demo also. Looks really amazing.
@ArktikusYoutube
@ArktikusYoutube Ай бұрын
The Jolt physics engine will be directly implemented into Godot in the upcoming 4.4 update! 🥳
@Le_x_Lu
@Le_x_Lu Ай бұрын
Yess!!!, I'm very excited about it 😋 probably one of the best updates ever..
@Lukfin
@Lukfin 2 ай бұрын
great video, love to see more, you are a hero. If you can make a discord to grow your community, please do!
@Le_x_Lu
@Le_x_Lu 2 ай бұрын
thanks :D .. oh yes, im planning to create a discord group in the future.. and have some interesting plants for 2025, to improve the channel and more..
@DonatemangaCom
@DonatemangaCom 2 ай бұрын
Amazing video! Good that i use jolt physics by default 😀
@Le_x_Lu
@Le_x_Lu 2 ай бұрын
Hey Marcel...😊 thanks mate .. same here, Jolt physics is amazing, always use it in my projects..
@Le_x_Lu
@Le_x_Lu 2 ай бұрын
note: I also like Rapier Physics a lot, since even if its not as powerfull as Jolt, its deterministic which makes it also a great choise..
@Kry0000
@Kry0000 2 ай бұрын
Thanks for sharing this video, it has valuable information and I've learned some new things regarding how to use Godot.
@bc4198
@bc4198 2 ай бұрын
Sick! The sword slice is very convincing 😮
@victorvatalakis5118
@victorvatalakis5118 2 ай бұрын
LeLu this is great, I am using the same method in my game and I felt completely validated as a gamedev lmao. A quick tip if someone is gonna use this for objects that destroy on contact and are initially resting: your object is breaking because its touching the floor and triggers the break when spawning? Put it on an invisible pedestal that isn't in a 'floor' layer. Don't go around making weird stuff with layers and detections like I did.. (Just remember to queuefree the pedestal at runtime when your object is moved/touched)
@SampoPesonen
@SampoPesonen 2 ай бұрын
Great tutorial! Thank you! I am happy to find about the Jolt (and how easy it was to install), because it also fixed my CharacterBody3D getting stuck at corners in the level. :)
@tigerwolf8338
@tigerwolf8338 2 ай бұрын
Awesome tutorial! How did you do the splat on the floor? Is that a decal?
@Le_x_Lu
@Le_x_Lu 2 ай бұрын
yes.. Its a Decal.. 🙂 I've also added some flying sparks effects to make it look even better..
@godotShaderBoy
@godotShaderBoy 2 ай бұрын
Cool effect and catchy intro, nice!
@facundomileo502
@facundomileo502 2 ай бұрын
Instantly liked!
@asdfasdfasdfasdf-f3p
@asdfasdfasdfasdf-f3p 2 ай бұрын
Great job! Praise Le Lu!
@AndriyBench
@AndriyBench 2 ай бұрын
Very nice videos! Keep up the good work you are awesome!
@digitaltectonics
@digitaltectonics 2 ай бұрын
Very cool thumbnail!
@עומראשכנזי-ז5ז
@עומראשכנזי-ז5ז 2 ай бұрын
Thank you for the video I loved it. I think you might use a script to make all the little rigid body 3d, will be much faster.
@Le_x_Lu
@Le_x_Lu 2 ай бұрын
that's a good idea.. can save a lot of time, specially if the videogame will handle a lot of destructible objects.. but for this tutorial i just wanted to keep things simple, and since its just 1 objects decided to do it in the long way.. lol
@alexleonardkrea
@alexleonardkrea 2 ай бұрын
🔥, thanks!
@FilipeMerli
@FilipeMerli 2 ай бұрын
Amazing ❤
@josueadair5935
@josueadair5935 2 ай бұрын
So usefull!!! Thanks ❤
@t.e.e.j.a.y
@t.e.e.j.a.y 2 ай бұрын
Awesome vid, learned heaps, thanks 🙏
@desireelustre
@desireelustre 2 ай бұрын
Thank you for a wonderful VFX tutorial.
@flaviopsilva_
@flaviopsilva_ 2 ай бұрын
Great video
@davidb1191
@davidb1191 2 ай бұрын
¡Muy buen video! Gracias por compartirlo.
@theharmonichaoticartist
@theharmonichaoticartist 2 ай бұрын
Is there a way to use this method to make mutilatable enemies? Like chopping off monster limbs?
@Le_x_Lu
@Le_x_Lu 2 ай бұрын
that's a good question.. 🤔 I thinks its possible, but animated meshes are complicated.. it needs to be done in a complete different way.. i would export the skeleton with sepparated parts and just hide the parts while instantiating a "copy" of that part with rigid body..
@Gagscwatch
@Gagscwatch 2 ай бұрын
wow
@AgriasOaks99
@AgriasOaks99 2 ай бұрын
Hey! It's been a while, Sensei!
@cesar2craft713
@cesar2craft713 2 ай бұрын
Para mayor facilidad pon al final "-col"
@Le_x_Lu
@Le_x_Lu 2 ай бұрын
es cierto.. se me habia olvidado esa funcion de Godot+Blender ... pero no estou seguro si funcione del todo bien, para esta calabaza lo ideal es que la collision de los pedazos sea del tipo "single convex"
@harimrlocal
@harimrlocal 16 күн бұрын
How to do the ground damaged effect like you have in the thumbnail
@Le_x_Lu
@Le_x_Lu 16 күн бұрын
oh.. that's just a Decal animated with a single animation player..
@GeneralChrisGaming
@GeneralChrisGaming 2 ай бұрын
This is gonna be hard to do on a phone😂
@Le_x_Lu
@Le_x_Lu 2 ай бұрын
yes.. i think its completelly possible, since there is a Jolt-Physics plugin for phone as well.. that can help a lot.. but In case of games for low-end or old phones, probably better to dont use physics and just spawn a smoke cloud +particles (random debris flying around)..
@nizagomes7081
@nizagomes7081 2 ай бұрын
👏👏👏👏👏👏👏👏👏👏👏👏👏
@Kaokimimura
@Kaokimimura 2 ай бұрын
wow que guapo
@Le_x_Lu
@Le_x_Lu 2 ай бұрын
Gracias Kao 😋.. jeje.. por cierto, creo que tendre algo de tiempo libre la proxima semana, asi que podre poner manos a la obra.. en especial si ya estan las animaciones nuevas listas..
@Anonymous-ue7dl
@Anonymous-ue7dl 2 ай бұрын
❤❤😊
@officialdreamplayz
@officialdreamplayz 2 ай бұрын
🥺🙏💝
@matiturock
@matiturock 2 ай бұрын
Tu inglés está bastante decente.
@Le_x_Lu
@Le_x_Lu 2 ай бұрын
aun me falta pulirlo mucho.. pero, lo importante es que se entienda.. jeje
@matiturock
@matiturock 2 ай бұрын
@@Le_x_Lu olvidate, es la que va.
GODOT 4 - Explosion 3D  -  VFX Tutorial
45:43
Le Lu
Рет қаралды 10 М.
You're missing out if you don't use these in Godot 4
10:49
MrElipteach
Рет қаралды 16 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
All 219 Godot Nodes Explained In 42 Minutes !
42:09
Lukky
Рет қаралды 301 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 96 М.
How Do Game Devs NOT Overscope??
9:04
Green Light Dev
Рет қаралды 18 М.
12 Tips to Boost Your Godot Game's Performance
11:27
Deep Dive Dev
Рет қаралды 13 М.
Making a Game About Weak Points
21:27
Emis
Рет қаралды 1 МЛН
What if Old Minecraft Mobs were Created Today?
28:05
KazooCat
Рет қаралды 793 М.
Godot 4 - Tiled Dungeon Environment From Scratch
26:24
DevLogLogan
Рет қаралды 457 М.
MORE VFX Shader Techniques ft. Godot
8:43
onetupthree
Рет қаралды 31 М.
Godot Engine - 2024 Showreel
5:25
Godot Engine
Рет қаралды 203 М.
[New] GODOT 4 -  Projectiles VFX  ( FIRE BALL )
40:32
Le Lu
Рет қаралды 74 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН