VIEWPORT as barrier.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By THE HELIX

How can i make the viewport as container/ wall to hold objects for game like candy crush.

:bust_in_silhouette: Reply From: thoma

In Godot doc you have the the line of code to do it here the link:
Viewport barrier

I did this but the pieces are intersecting with each other.

THE HELIX | 2019-07-05 15:18

The piece look like they are fusioning I don’t really understand a picture of what happen could be useful but anyway if its the case I think the problem it the line of code for the collision of your piece.

thoma | 2019-07-05 16:29