#so trying to make a seamless teleportation
1 messages · Page 1 of 1 (latest)
Did you try printing your position values?
No, why?
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
yes
I'm unsure if its code or the level itself cause I have another level where you cant see when the player gets teleported
It might be the level that look slightly different
well the rooms are identical so I don't really know what's the problem
Isn’t it inverted though?
wdym?
I think you need to invert the offset
It looks like it is spawning a bit to the side
so i should do - offset instead of + offset?
Let’s see how it goes
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).
Well it's not really looping it just teleports the player to the start
I can show the full game level if needed
yeah the more context the better we can help