Godot Destructible environment and physics

  Рет қаралды 705

StephenCSmith

StephenCSmith

Күн бұрын

Пікірлер: 3
@somedude5951
@somedude5951 Жыл бұрын
Will become harder, once textures get implemented. Like, getting breaks on the bricks, different materials that behave differently, and so fort. Tear Down used voxels. But it looks awesome.
@warden4688
@warden4688 7 ай бұрын
Any update on this, i would like to do a project where you can "cut" out parts of a mesh but im not sure how to go about it. I saw on the other video you mention you split the mesh into smaller meshes then it collapses. I am fairly new to godot and this is exactly the sort of mechanic im looking to implement, so would appreciate it if i could get a look at the code or you could point me in the direction of some docs to read.
@steve16384
@steve16384 7 ай бұрын
On the face of it, it's not that complicated, but it does get a bit fiddly with the various 3D model aspects and the maths. To create a hole, I convert the original cube into 4 smaller cubes, which together cover the same area as the original cube but leaves a hole in the middle, and once they get too small I turn them into RigidBodies. Creating a new cube mesh is straightforward (CubeMesh.new()) and set its position and dimensions. Then add a collision shape of the same dimensions (e.g. BoxShape.new()), and finally add a material (probably re-using the same material as the parent). Although if you're new to Godot, it could be quite challenging. :)
I Added Almost Every Mob's AI to This Freak
14:13
Gargin
Рет қаралды 518 М.
Switch to Jolt: the new physics engine for Godot!
9:51
David Serrano
Рет қаралды 58 М.
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 6 МЛН
Mia Boyka х Карен Акопян | ЧТО БЫЛО ДАЛЬШЕ?
1:21:14
Что было дальше?
Рет қаралды 10 МЛН
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 105 МЛН
How to Create a Destructible Object for Godot in 7 Minutes
7:28
CodingKaiju
Рет қаралды 26 М.
Can You Actually Beat Minecraft from an Island?
1:30:04
Mud Flaps
Рет қаралды 1 МЛН
I coded ur DUMB Minecraft ideas
13:29
Element X
Рет қаралды 825 М.
I Remade Minecraft But It's Optimized
6:25
FinalForEach
Рет қаралды 799 М.
How to Create Throwable Grenades in Godot 4.X!
11:03
EightFaun
Рет қаралды 3,2 М.
What Minecraft Looks Like for a Mojang Dev
23:40
EightSidedSquare
Рет қаралды 1,2 МЛН
Mindustry Mod Spotlight ENCORE
15:39
Creslex
Рет қаралды 37 М.
Mini Mech Explosion - VFX Breakdown ft. Godot
6:49
onetupthree
Рет қаралды 11 М.
How I made breakable walls for my game (Godot Engine)
5:55
AI Learns How To Play The Worlds Hardest Game
8:21
Tyler Mommsen
Рет қаралды 448 М.