In my game project i'm using viewport as a texture output, so i can manipulate texture with custom shader. Using it for making 2d metaballs. But when you use viewport node, the outside physics object can't interact with inside of the viewport because viewport means another world.
I was trying to understand viewport how create new world for manipulate viewport to instead of creating world using the default world. But i couldn't understand how it works, i was digging in source codes for 5-6 hours.
Can anyone help me to understand?
Also i found this but this way is a bit long and i couldn't understand how it works:
Sorry for my english.