Announcement

Collapse
No announcement yet.

OnComponentOverlap and SetWorldLocation never generate Sweep Hit Results

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    OnComponentOverlap and SetWorldLocation never generate Sweep Hit Results

    This should be guaranteed to generate a result when a hit occurs, yet it never triggers the print:

    Click image for larger version  Name:	unknown.png Views:	1 Size:	136.3 KB ID:	1649259


    Similarly, even if you move the actor using the above node, the OnComponentOverlap does fire, but the Sweep Hit Result is never populated:

    Click image for larger version  Name:	unknown2.png Views:	1 Size:	146.9 KB ID:	1649260


    It has apparently been like this since 2015?

    https://answers.unrealengine.com/que...ot-popula.html

    #2
    Created an example project for this (4.23 preview 4):

    https://www.dropbox.com/s/7r9omr14kl...Sweep.zip?dl=0
    Last edited by eobet; 08-03-2019, 10:26 AM.

    Comment


      #3
      How are you sure that the SetWorldLocation hits something ?

      And yes it seems OnComponentBeginOverlap's Sweep Result is never populated this is unfortunate

      Comment


        #4
        Try the example project and press the up arrow until you see the print outs.

        Anyway, I found this "won't fix" bug report from 2015, but even if I move the collider to be the root, no Sweep Hit Results are generated.

        I also just in case replaced the root with the default cube and used SetActorLocation as the original bug report said, but again, no Sweep Hit Result is generated.
        Last edited by eobet; 08-05-2019, 05:23 AM.

        Comment

        Working...
        X