Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This bug #39

Open
weeehuu opened this issue Sep 10, 2020 · 1 comment
Open

This bug #39

weeehuu opened this issue Sep 10, 2020 · 1 comment

Comments

@weeehuu
Copy link

weeehuu commented Sep 10, 2020

I'm submitting a bug

E 0:00:18.391 emit_signal: Error calling method from signal 'body_entered': 'KinematicBody2D(Player.gd)::_on_Area2D_body_entered': Method not found..

<C++ Source> core/object.cpp:1260 @ emit_signal()

@MudHolland
Copy link

KinematicBody2D doesn't need to be called in your player script. So if you want to debug it yourself, take a look at your player script and search for KinematicBody2D. Look for what it should be.

I'm thinking you have a typo in your code. You maybe autocompleted KinematicBody2D instead of PhysicsBody2D in your player.gd.

func _on_EnemyDetector_body_entered(_body: PhysicsBody2D) -> void:
	die()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants