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 can I query touching actors?

I'm trying to implement a rail / rope / beam actor that player characters can walk on, and have it send some feedback to the player while they're trying to keep their balance.

To do that, I need to know when the two actors are touching (specifically, one supporting the other).

  • Overlap begin / end events and the GetOverlappingActors query don't do anything, since it's a blocking collision.

  • On Hit events only trigger when landing after a fall, not stepping from BSP straight on to the actor.

  • Furthermore, On Hit events don't tell you when the actors are no longer touching.

The data must be there somewhere, since the actor is all that's holding the character up!

I'm currently working in blueprints only, but if I absolutely have to dip into C++ I will.

Product Version: UE 4.9
more ▼

asked Oct 28 '15 at 06:54 AM in Blueprint Scripting

avatar image

41 2 3 4

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

1 answer: sort voted first

How about adding a bit bigger collision volume to your object, and use its overlap events to simulate the touch behavior.

more ▼

answered Oct 28 '15 at 03:28 PM

avatar image

1.9k 61 52 191

avatar image etheranger Oct 29 '15 at 12:32 AM

I thought about that, but 1) it would be a pain to set up for different shaped & sized meshes and 2) to avoid seams, the rope extends a bit into the cliff face, so I'd get false positives when standing above (but not on) it.

(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