The camera clip through the portal before teleporting.
To create portals as a reference, I used this repository: https://github.com/Donitzo/godot-simple-portal-system
Can anyone tell me what the problem is?
I tried:
Use csgbox with culling off instead of mesh
Matrix magic, which I don't understand (that's probably the problem)
Maybe the problem has to do with forgetting to turn on the nodes?
Here’s the project repository: https://github.com/nik0mi/vohis