I drew a blueprint of the functionality.

When the purple circle representing the player enters the green trigger, the shuttle event will start. At this point, the player is no longer able to exit the shuttle event. Players can press W to walk towards the portal. When it is detected that the player enters the portal, a 3D character will be generated at the appropriate 3D position and the 2D character will be deleted at the same time.
all righ, let’s try it.
It’s very simple, isn’t it? Then let’s get 3D players back to the books.

Let’s look at the breakdown of the character returning from 3D to 2D. When the player jumps from the portal entrance on the book, he will first touch the red trigger, and at this time, the event of switching the camera will be executed. In the next step, the player will trigger a relatively small yellow trigger to execute 3D to 2D events: generate 2D characters and delete 3D characters.
Let’s take a look at the demo.
Looks good.
What I introduced in the blog is relatively simple, but in fact, the number of problems encountered in the actual development process is unimaginable. As a developer, I need to take into account every possible situation that a player can have.
There is less than half a month before the submission date. In the last 15 days, I will finish the thesis and cooperate with the level editor Zixuan Wang to complete the game construction.