0 votes

Working on a GPU fluid simulation:

https://streamable.com/mdrp6

It uses multiple viewports to hold the state of the fluids velocity, pressure, and divergence. In order to add solid objects that interact with the fluid, i need to be able to draw CanvasItems from my main viewport in the velocity and pressure viewports as well. I could create a copy of every node I want to draw and then sync their positions and data through scripts, but I'm hoping there's a better way.

in Engine by (58 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.