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"

Overlap events only fire when character moves?

Hi everyone,

I'm trying to achieve a simple outline effect on any interact-able object that the player hovers. The basic principle works just fine, my problem is that it only seems to work when my character receives movement input. When the character is static, I can rotate the camera (and with that my 'characters reach') but this won't effect the outline (and functionality).

Here's how I do it:

1) My character blueprint has an 'arm reach' attached to the camera component, this is a box trigger. alt text

2) Within my interact-able actors, I try to detect the arm reach collision on the mesh component: alt text

This works like a charm, but again, only when the character receives input. How do I make this work when the character is in the idle state, but the camera is moving (and therefore overlapping)?

Kind regards,


Product Version: UE 4.17
armreach.png (712.5 kB)
togglingoutline.png (155.7 kB)
more ▼

asked Nov 06 '17 at 02:35 PM in Blueprint Scripting

avatar image

1 2 3

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

2 answers: sort voted first

Try to compare the components class instead of the components(from 2nd screenshot).

more ▼

answered Nov 06 '17 at 03:12 PM

avatar image

306 2 4 8

avatar image FarmerRob Nov 06 '17 at 03:52 PM

Hey Xelj,

Thanks for the response! Do you mean like so? alt text

I'll have to admit, not 100% sure why it works, but it gives me the same exact result as my previous set-up. Meaning still no luck when the character isn't moving (or am I doing it wrong?).

I tried the same effect on a moving actor (made it spin through a timeline), and that works. Seems like the character or the actor has to move in order for the overlap to be detected. But it still leaves me with the same issue, not sure how to make it work when they're both stationary.

componentclass.png (141.1 kB)
avatar image Xelj Nov 06 '17 at 04:40 PM

May be as variant, will be better use overlap event on ArmReach together or instead overlap on SM_Tree_Trunk?

But in our project for similar purposes we use linetrace on eventtick.

avatar image Xelj Nov 08 '17 at 12:28 AM

If you have not solved your problem yet, try using this variant: alt text

1.png (320.3 kB)
avatar image FarmerRob Nov 08 '17 at 09:29 AM

I had laid the whole issue to rest for a while, but this seems to work!

Thanks a lot Xelj!

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

Ah, I understand what you mean. My 2nd screenshot is from a tree actor. So the actor checks if the character is overlapping with it. You mean to say I should always check from within the character, I get it. I did this (and it works), but it still has the same result. alt text

I've come to the conclusion that my problem is the actor falling asleep, and therefore doesn't respond to the overlap event. I'm not sure how to wake up the actor, nor if I should.

ah.png (164.7 kB)
more ▼

answered Nov 06 '17 at 05:23 PM

avatar image

1 2 3

(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