The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates. | Twitter

0 votes

I am doing a bunch of Godot research and tutorials, but I am honestly completely lost on viewports, input capturing etc

So I'm doing a gui-driven 2d project, where the player can place physics objects and interact with the 2d world that has a camera2d and some pop up guis.

I am honestly completely stuck on how to structure the main scene nodes to enable the above spec.

As of right now I have the mouse input on a player 2d node, but I'm getting strange offsets when I try to drag out selections. So I figured maybe I should ask to see if I can get a better knowledge foundation. Like should my mouse input maybe be on the top node? Do I need a viewport? etc

Godot version 3.5rc3 official
in Engine by (33 points)

Please log in or register to answer this question.

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.