mrwonko/TheseusJA

Portals

mrwonko opened this issue · 1 comments

As mentioned in #20, I want Prey/Portal-style portals. Besides the physics changes required for smooth transition, I also want to improve the rendering to support recursive portal rendering through render-to-texture.

It would also be fun to combine it with #19 to slice objects apart if they only partially pass through a portal. Impractical, but fun. Would require safety borders around portals.

One-way portals are even worse. What happens if you turn around halfway through? Are you cut in half?

Ultimately, treating players as a point at the camera location will be muuuuch simpler. Until VR adds a second camera.

Also: I should come up with tech to explain portals. The material stimulation may drastically change the landscape around a portal, so a portal should probably not stay in place of the room it's in moves. So it needs to be tied to some kind of portal generator.