press e/q to place portals this is the first to my easy portal physics studio its true check the code pretty simple
i fixed the raycasing and corners still nos perfect