Page 1 of 1

Seamless Teleportation

Posted: Mon Nov 06, 2017 3:59 am
by Thedudxo
I'm trying to create a seamless teleport that the player won't notice. this mostly works well, however the textures can be seen changing.

I have created a new wall set without any randomization to it, so that the textures should stay the same.
this works for everything except pillars (both the ones generated with walls and the place able objects)

Any ideas on how to stop the pillar textures from changing? I have noticed the texture is one file that seems to be placed differently for each pillar, Thus editing the texture doesn't help.

Re: Seamless Teleportation

Posted: Mon Nov 06, 2017 10:39 am
by minmay
Pillars created by tiles get a random facing. You can either place the pillars manually, or you can use the GameObject:setPosition() method to make the facings of the two sets of pillars match after they've been created.