You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to deal damage to the player when the player touch a bullet but I didn't Understand how the bullet_hit signal work
should I use result ?
how do I even use result I didn't understand that in the documents
The text was updated successfully, but these errors were encountered:
Here is how I use it, nothing final but I think this is how it's suppose to work?
result contains all the objects that got hit. r.collider is the actual object we collided with, Area2D in this case. Area2D is a node in my enemy scene, I then use it to get the node I want to operate on. In my implementation Damageable is a node I attached to my enemy scene.
I want to deal damage to the player when the player touch a bullet but I didn't Understand how the bullet_hit signal work
should I use result ?
how do I even use result I didn't understand that in the documents
The text was updated successfully, but these errors were encountered: