#so trying to make a seamless teleportation

1 messages · Page 1 of 1 (latest)

stable terrace
#

So I'm trying to make a seamless teleportation but it won't work for some reason and I don't know what to do anymore

cerulean bough
#

Did you try printing your position values?

stable terrace
cerulean bough
#

To see if they are returning what you expected

#

Just basic step by step debugging

#

And did you assign the player variable correctly? That would prevent it from working as well

stable terrace
#

I'm unsure if its code or the level itself cause I have another level where you cant see when the player gets teleported

cerulean bough
#

It might be the level that look slightly different

stable terrace
cerulean bough
#

Isn’t it inverted though?

stable terrace
cerulean bough
#

I think you need to invert the offset

#

It looks like it is spawning a bit to the side

stable terrace
cerulean bough
#

Let’s see how it goes

stable terrace
#

Sorry for late response

stable terrace
#

I tried doing some random stuff nothing worked :/

#

still trying to solve it

stable terrace
#

changed the code a bit

#

still the same result :/

lethal jungle
#

your mesh is not offset by the amount you are teleporting most likely

#

So your hallway could loop every 18.5 meters for example, and you are moving 18.3

#

If you are making an anomaly game, loop it every second hallway (just a guess).

stable terrace
#

I can show the full game level if needed

lethal jungle
#

yeah the more context the better we can help

stable terrace
stable terrace
#

i fixed it

#

someone told me to use this