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"

Blueprint Actor is moving using AddActor Local Offset. Sweep works correctly, but I cannot generate overlap events.

Hello!

I'm trying to make a blueprint script for an Actor that updates based on AddActor Local Offset, where various collision volumes are in front of the ship, and when overlapped, change the direction / speed of the ship. That is all determined through variables, which works just fine, but I cannot get any overlap events to fire from the blueprint. I have tried keeping the Static Mesh Component as the root, and tried making Box Collisions as the root, and nothing works.

However, when I check off "Sweep" on AddActor Local Offset, it works properly (meaning, when the collision of the static mesh component touches something in the world, it stops updating the location). So what am I doing wrong? How do I get overlap events to work?

TL: DR - I'm trying to get a Blueprint Actor to fire Overlap events when it overlaps. However, it does not work. Sweep does. What am I missing?

Here are the collision Settings I have: Here are the collision settings I have

Here is the component list: alt text

Here is the node for updating the location: (Sweep is turned off, as I don't want to use its functionality) alt text

[4]: /storage/temp/103737-help4.png

Product Version: UE 4.12
Tags:
help1.png (41.8 kB)
help2.png (8.5 kB)
help3.png (64.5 kB)
help4.png (93.6 kB)
more ▼

asked Aug 20 '16 at 04:34 PM in Blueprint Scripting

avatar image

Tdore
16 6 5 6

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

1 answer: sort voted first

I figured out a solution for this. I needed to have the actors in the world have "Generate Overlap Events" Checked off. So long as both actors in question have this checked off, it works.

alt text

whoops..png (23.3 kB)
more ▼

answered Aug 20 '16 at 06:25 PM

avatar image

Tdore
16 6 5 6

(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