Teleportation within the game.

Screen Shot 2016-05-24 at 17.11.46.pngTo stop my character from respawning out of the world every time he fell down a hole, I decided to set up respawn points with the help of the teleportation node. The process would work in a similar way one would connect levels together. Once a character would interact with an object, they would be teleported to a different mesh. Screen Shot 2016-05-24 at 17.12.06.pngThe fist step to this process was to create a square mesh that would stretch across the chasms, the actor would be hidden while in the game as well as the object it would teleport to. Screen Shot 2016-05-24 at 17.12.18.pngThe next step was to simply create another mesh as you can see above as the respawn point. I then opened up the level blueprint while having the cube selected and brought up an “OnActorHit” node, the next major node was teleport, that was then connected to the sphere with a “GetActorLocation node”. Screen Shot 2016-05-24 at 17.12.44.pngAfter this process was completed and compiled, the character would successfully teleport form one object to another.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s