Can I detect and identify nearby actors?

BrouhahaBrouhaha Member Posts: 11
edited November -1 in Working with GS (Mac)
I would like my game to detect and/or identify actors near a tapped location or near another actor that was just tapped or destroyed. For example, I could tap one zombie and simulate a shotgun blast by damaging a small group of them.

- Brouhaha!

Comments

  • outsidethebyteoutsidethebyte Member Posts: 115
    Use an invisible actor that expands at the hit site and use this to determine the blast radius.
  • BrouhahaBrouhaha Member Posts: 11
    So if my player taps a zombie, I could destroy it, then spawn an invisible actor in the former zombie's location, expand it to the size of the blast, and destroy any other zombies that the invisible 'blast radius' actor collides with?

    - Brouhaha!
  • outsidethebyteoutsidethebyte Member Posts: 115
    Yes. You could also stop the projectile and expand it invisibly. Either way, you can use a rapid interpolate to have a realistically timed blast effect.
  • JPickardJPickard Member Posts: 477
    Heck. Could you just put the blast radius in the explosion actor instead of creating an extra invisible actor?
Sign In or Register to comment.