#💬 eunitydevʹs Feedback

1 messages · Page 1 of 1 (latest)

calm stagBOT
vernal birch
#

how did you do this

#

i can tell its viewports on surface guis

#

because of the shadows

#

but what data are you sending

#

is it as simple as giving it the entire world?

deep osprey
#

or only give it the current stage or something if your making a game out of this

next vine
#

yeah it’s only the current level in the viewport

lyric nacelle
#

Woah how tf ??

#

U can put live holes in walls?

next vine
next vine
#

theres 3 main parts to what is seen here;

  • portal renderer
    -- the level 'inside' of the portals that get updated
  • placement algorithm
    -- shooting the portals at a surface and finding a valid position for it
  • portal physics
    -- disabling the collision of the world for the player while inside a portal and teleporting the player at the right time

separately these 3 are pretty simple, its just a matter of syncing them all up to give a convincing result

lyric nacelle
#

neveer seen it before

#

good job

vernal birch
#

simple when u think about it though

#

plop the entire world into a viewport frame

#

align it with the lookvector of the part it was projected onto

#

Done

next vine
#

that would leave you with a flat, image of the world