0 votes

As a new developer I'm very eager to create things on my own, one of which is a claw that the player controls. It can pick up objects, move with them, and can place them down with no issue, other than the fact that when you pick up more than 1 object at the same time, both objects will intersect and become as one, which is not desirable.

They operate using Area2D nodes. For example, when you hit A on the controller, the claw will activate the "pickup object" hitbox for 2 frames, and will pick up an object when one is detected. Currently, there is no way for it to know to pick up only a single object at a time.

I've been brainstorming solutions, and at the moment I think I need a way that I could somehow tell the claw in its pickup collision to prioritize an object.

Thank you for taking the time to read my question.

Godot version Godot Engine v3.3.2
in Engine by (12 points)

1 Answer

0 votes

What is the question? The claw should pickup based on size, weight, proximity, color etc?

by (808 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.