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 choose what actor triggered an overlap event?

Hi, sorry if this question has been already posted but is it possible to make something like "asplayerstartbeginoverlap". Choose one actor for the overlaping. Sometimes my trigger box on my compound overlap some others compounds so it move in a wrong direction. Thanks Tom

Product Version: Not Selected
Tags:
more ▼

asked Apr 07 '14 at 11:08 AM in Blueprint Scripting

avatar image

totopsycho
26 4 4 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Thanksalt text i attached trigger volume around the box and when i overlap box x for e.g. it move on the x axis. I ve do the same think for the other direction ! But when i use two box in the game, the trigger volume of one box overlap trigger of another. So when i left click, the box goes in a wrong direction !

movebox.jpg (383.1 kB)
more ▼

answered Apr 07 '14 at 01:25 PM

avatar image

totopsycho
26 4 4 8

avatar image DizzyWes ♦♦ STAFF Apr 07 '14 at 03:24 PM

Looking at your Blueprint, are you trying to move the Lecubesimple 200 units along the X when the Left Mouse Button is pressed? Instead of using Get World Location, try using Get Relative Location.

Doing that will move it along the X, set it's location to it's current position and use that as the basis for the next movement call. Is that the issue that you are seeing?

-W

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Howdy!

If you are trying to determine what overlapped the trigger box, you could try tagging.

Take a look here: https://answers.unrealengine.com/questions/24582/how-to-tag-playerenemybullet.html

If it's something else, maybe post an image of your Blueprint so we can see what you are after.

-W

more ▼

answered Apr 07 '14 at 01:15 PM

avatar image

DizzyWes ♦♦ STAFF
5k 145 64 206

avatar image totopsycho Apr 07 '14 at 06:37 PM

Thanks for your answer Wes, i use get relative location and it works pretty nice. I change the collision preset too in my box to ignore world dynamic and i have no more overlapping problem. Thanks again

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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