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 detect collisions on a spline mesh

Hello i'm currently working on my end of studies project, and i'm trying to prototype a weapon that creates a spline mesh between the player controlled actor and another specific actor. The spline mesh is supposed to destroy any actor(enemy) that colides with it.

I've managed to create the spline mesh with a "Start to End" node which updates itself every tick, however i'm not able to detect colision using the "OnComponentBeginOverlap (SplineMesh)" node.

Please advise iv'e tried several other methods but none of them seem to work. Is it possible to detect colisions on spline or spline mesh? If no what other methode could I use to detect colision between two movable actor's? alt text alt text

Product Version: UE 4.13
more ▼

asked Jan 19 '17 at 09:52 AM in Blueprint Scripting

avatar image

1 1 2 1

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

1 answer: sort voted first


What about Collision Setting of SplineMeshComponent?

When working like the image, it worked in my environment.

alt text

setting.png (10.7 kB)
more ▼

answered Jan 19 '17 at 10:45 AM

avatar image

1.9k 74 6 33

avatar image snicholl Jan 19 '17 at 01:51 PM

Yes I had everything on OverlapAllDynamics but still no detection happened. I wonder if it's because my mesh is constantly rescaled as my actors move, and it renders the colisions unusable

avatar image tamfoi Jan 20 '17 at 06:48 AM

Certainly, Collision could not be detected when deforming constantly with Tick.

How about using MultiLineTraceByChannel instead?

(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