Using a doorway that remember player position?
I have two scenes and a two-way doorway in both which the player can activate with a button-press to ”travel” between the scenes. So far so good. The layouts and objects in both scenes are similar but twisted and weird in one, that’s the main hook. But can I somehow make a system that remembers player position and maybe even the camera angle when the player has used the doorway? It would be so cool to be able to travel between scenes like this as the feeling would be that only the scenery, lightning etc change around the player!
Thanks for reading, I hope someone have some suggestions :)
-
Attach the door gadget to a microchip with a a tag and a variable, plug the tags transform into the variable modifier so it saves the location ( noir sure if you can do this not at my PS4 right now) then when you reload the level just use the variable data to teleport the player to the saved location
-
Oh.. I gotta give this a try later/tomorrow. Thanks and wish me luck! ^^
-
Ok I fiddled with this for a while but cant get it to work. I Think the problem is that the teleporter need a tag to teleport something to and that tag is inside the puppet (to get position). And when you try to teleport something somewhere that’s inside itself thing go crazy ’^^
So maybe I most emitt a tag outside of the puppet with position data from the tag/variable Inside the puppet and then teleport the puppet to the emitted tag? Haven’t tried it yet but what do u think? -
You are on the right track.
For my level, I used a laser scope in the puppet to record the location into variables and then had an emitter spawn a tab at the recorded location in the next level. A teleporter moves the puppet to the tag.
Not trying to advertise, but it might help to look at the logic on my Light/Dark world teleport logic demo. -
Oh thanks I’ll certanly have a look at your level! :)
iniciar sessão para comentar.