Sorry for barging in 🥲I got a few notes: * WorldBoundaryShape3D shape is an infinite plane designed specifically for this purpose, so you don't have to worry that your collision box is big/thick enough. * Godot engine doesn't like when you remove objects and/or switch scenes in physics signal handlers. You should use call_deferred() method, or use a Timer * You might need to setup collision layers, otherwise a random falling object will trigger scene transition. * You can use get_tree().reload_current_scene() if you just need to restart the level.
Yeah I get a "Removing CollisionObject node during a physics callback is not allowed..." error, I assume it has to do with call_deferred() method. Can you perhaps give an example of code we SHOULD be using instead, in regards to this tutorial? Thanks
@@Demonluv Sure, use get_tree().call_deferred("change_scene_to_file", "res://level_1.tscn") to load from file, or get_tree().call_deferred("reload_current_scene") to restart level. call_deferred() takes a function name string as the first argument followed by function parameters, if any. Edit: It doesn't call it immediately, but when it is safe for the engine.
That WAS a quick one haha. It's a shame that I already did this. I did it a few videos ago. I already knew how to do it because of your 2D platformer videos. I'm grateful for your tutorials. Yours are some of the best on the site. I wish they could be made quicker but I understand having a child absorbs a good amount of your time. Been there a few times haha.
I followed this tutorial series all the way trough, it's absolutely amazing! I was able to easily follow along and create even more than what you showed in the videos you've made so far, I can't wait until the rest come out! (This one is 14/21 (or so I've heard) )
I have a question, I am relatively new to godot even thought I have dabbled with it last year for a bit, but Instead of creating a fall zone with colliders and a signal to call a function to the player charachter's script to handle a new level or maybe a restart, woud it not be easier in the players script that you simply check if the player's y-axis is below some set point to handle it all?
yo dude, if your this late in each video then what is the point of these? idk not tryna be rude but i remember having to wait like 3 months or smthn for the old 2d series. Kinda getting pointless if you upload every 2-3 weeks
These are free tutorials. He’s obviously putting a tremendous amount of work into these, so that they are not just relevant to those following along in real time, but also those who come across them in the future. Good things take time. Be kind and appreciative of the free resource he’s providing, or go and seek out godot creators who produce content on a timeline that works for you.