r/godot•
blablobloo

Area2D too big on game start?

So I'm trying to have an interaction with an NPC which mostly works like I want it to except for one thing.

I have a variable called canInteract set to false by default. _on_body_enter with npc shoud changes it to true and _on_body_exit changes it to false.

The problem is that when I boot up the game, no matter how far I am from the Area2D, the _on_body_enter event triggers. I have to re-trigger the event and then trigger _on_body_exit manually to make it work properly. Anyone else has this issue?

Posted Jan 31, 2017, 8:56 PM UTC

22
Loading comments…