Multiple Recursive Portals and AI In Unity: Intro and Table of Contents

Lim Ding Wen
1 min readMay 30, 2020

--

In this tutorial series, we’ll use create portals that can be rendered recursively, walked through seamlessly, shot through using raycasts and create AI that is aware of portals and is able to see through them. Last but not least, we’ll optimize these portals and AI to have the game run at playable speeds. You can use these portals to create seamless impossible spaces.

This tutorial is based on the techniques I used in my new game, Quantum Tournament. You can take a look at the alpha gameplay video below to get a feel for what type of effect we’re trying to create.

Let’s jump right into it!

Table of contents

Author’s note

Did you enjoy this tutorial? Did it help you make a game with portal-like mechanics? If so, please consider buying me a cup of coffee. Thank you! ❤

--

--