x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to create a teleporter (Mesh)

Hi folks

I am trying to create a teleporter by which I created 2 Pillars, placed both in different corner of the world. Then when the player enters in one pillar, end up in other pillar.

I am able to do this by level blueprint but i am trying to have the graphs in the pillars itself so that when other players place the pillars, they could use it to teleport.

1) How do i scripting in the object's graph itself 2) How do i assign 'Names' on each pillar to facilitate the teleporting 3) Can i have a interaction menu by which if there are alot of pillars, i can assigned a destination pillar to the master pillar

Please assist a beginner. I am clueless in this and kinda stump. Tried to read through threads and videos, cant seem to figure i t out.

I have attached the level bluepriting

Thank you for your time.alt text

Product Version: Epic Games Launcher
Tags:
graph.png (151.6 kB)
more ▼

asked Aug 29 '15 at 04:10 AM in Blueprint Scripting

avatar image

ENRELL
1 1 2 4

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

I think the best way to go about this is to handle both pillars/portals in the same blueprint. If you add both meshes and their collision boxes to the same blueprint and nest them properly, you can drag the child actor around in the world to move the second pillar (relative to the first one). In the Blueprint, you react to both Collision Boxes overlapping and always send the player to the other one.

alt text

The disadvantage with this solution is that when the first portal is moved, the second one also changes position relative to it. The solution to that is to have both portals as children of the same parent object, so they can be moved independently.

alt text

Good luck!

more ▼

answered Aug 29 '15 at 08:00 AM

avatar image

erinacea
1.8k 68 28 111

avatar image ENRELL Aug 29 '15 at 09:19 AM

Hi there !!

Thank you so much for the reply.

Let me test it and will revert.

Thank you once again.

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question