Area2D node

How can I make an Area2D node detect a Game_Object and execute an action?:thinking:

In beta right now we are testing Area2DGameObject’s that are able to have visual scripts attached to them. Soon you will be able to do it plainly through visual script. The easiest way to utilize it would be to combine it with my Signal Relay node to connect the on_body_entered signal to the visual script.

You can do something similar currently as well, but it requires some work around. You would need to make a specific GameObject with a specific visual script that controls the Area2D as a middle man.

Once the Area2DGameObject comes out, you will only need to create the area, attach a visual script to it and then utilize a method for detection to use ChangeAction.

2 Likes

Thank you, I’ll wait.

Actually GGG just posted another producer letter about the lightweight objects. You can read more about it here:

1 Like

Let’s see how they work.:winking_face_with_tongue: