when my bullet collide with enemy, sometime it will queuefree() sometime it just push it back, why it happen like that? what i did wrong? i try collider.isin_group(""), still give same result
this video show what happen. https://youtu.be/ZIlJpOxmkho
this project file https://drive.google.com/open?id=1UsMfh-GccUhDHUI0BoJyCH1fdvDvVkNG
solve just put in isingroup(), i dont know why did't work before.
Imagine a tree like this:
The name of a node has to be unique, at least for the layer of the scene tree it's on. Otherwise getting nodes via their path wouldn't work anymore.
In order to ensure this, Godot will automatically change the names of nodes instanced from the same scene. So actually a real tree would look like this:
TL;DR: checking nodes by name is very error prone and not recommended!
thanks , and welcome back