Skip to content
Discussion options

You must be logged in to vote

1 - make sure your collision callback function is actually running. Put a print statement at the beginning of it and make sure it gets logged.

2 - I say this because I don't see the little icon on your editor that indicates that you properly wired the signal to your callback function. For comparison sake, this is how the one for the boss boundary setting collision appears:

Notice the little green arrow and box thing on the top left. That indicates that this function is called back via a signal. You need to manually configure the collision box to point at that function in the node inspector right here.

Notice that the body_entered signal for Area2D shows the same icon from before here.

I…

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
4 replies
@ImmaStikboi
Comment options

@ImmaStikboi
Comment options

@QuartzTS
Comment options

@ImmaStikboi
Comment options

Comment options

You must be logged in to vote
4 replies
@ImmaStikboi
Comment options

@QuartzTS
Comment options

@ImmaStikboi
Comment options

@DimensionWarped
Comment options

Answer selected by ImmaStikboi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants