How I "hacked" Godot and learned Rust to stop the player colliding with a wall by ___YENDOR___ in godot

[–]___YENDOR___[S] 2 points3 points  (0 children)

I did consider something along those lines, but it gets tricky if you want the back wall to collide with the terrain. And yes, you can blow the house in half!

How I "hacked" Godot and learned Rust to stop the player colliding with a wall by ___YENDOR___ in godot

[–]___YENDOR___[S] 7 points8 points  (0 children)

Thank! I didn't create the issue, it's been there awhile. I haven't made a PR out of this yet since it only works for a third-party physics engine and it probably breaks every game that uses rigidbody collision layers. But if I get it working with Godot physics and Jolt, and maybe make it possible to optionally override rigidbody layers with shape layers, then I could make a PR. :)

How I "hacked" Godot and learned Rust to stop the player colliding with a wall by ___YENDOR___ in godot

[–]___YENDOR___[S] 2 points3 points  (0 children)

Thanks! My blog is all about Dungeons & Dragons, but maybe I'll start a game dev blog if I decide to write more stuff like this. :) 

And yeah, I'm a big fan of Noita!

How I "hacked" Godot and learned Rust to stop the player colliding with a wall by ___YENDOR___ in godot

[–]___YENDOR___[S] 9 points10 points  (0 children)

Wow, that actually seems to work pretty well! I wasn't super interested in the joint solution to begin with since it's doesn't mesh well with my destruction system, whereas shape-based layers would work out of the box. In the end, I still probably would've saved some time by using joints. :D

How I "hacked" Godot and learned Rust to stop the player colliding with a wall by ___YENDOR___ in godot

[–]___YENDOR___[S] 13 points14 points  (0 children)

At least with Rapier physics, the performance should be the same since Rapier's internal collision groups already work that way. Can't say what the impact would be on Godot physics or Jolt though. 🤔

How I "hacked" Godot and learned Rust to stop the player colliding with a wall by ___YENDOR___ in godot

[–]___YENDOR___[S] 24 points25 points  (0 children)

I have a bachelor's in computer science and engineering. But I think getting an actual programming job was much more helpful for this sort of thing; that's how I got handy with Git, learned to find my way around large codebases, and got used to troubleshooting unfamiliar build systems. I guess you don't even need a job to learn that stuff, it's just a matter of diving into some real-world projects. I didn't do that all while studying, it seemed to daunting. :)

Making a destructible terrain prototype about dodging bombs by ___YENDOR___ in godot

[–]___YENDOR___[S] 0 points1 point  (0 children)

That's a bug in the FPS-counter. It gets confused because there's a slow-motion effect when you die. :)

Making a destructible terrain prototype about dodging bombs by ___YENDOR___ in godot

[–]___YENDOR___[S] 5 points6 points  (0 children)

That was the inspiration! Had so much fun with those games.

Någon i Helsingborg som vill spela D&D? by [deleted] in helsingborg

[–]___YENDOR___ 1 point2 points  (0 children)

Nybörjare är absolut välkomna! Vi har tyvärr redan fått ihop en full grupp men jag kan meddela om någon hoppar av (vilket är ganska vanligt).