playMaker

Author Topic: Radius Effect That Doesn't Go Through Walls  (Read 1192 times)

TheStrange

  • Playmaker Newbie
  • *
  • Posts: 2
Radius Effect That Doesn't Go Through Walls
« on: January 15, 2017, 02:37:20 PM »
So I have both healing and damaging radius effect objects that I've been using sphere triggers for like a noob. Funny thing is they're actually working well for what I want them to do; however, they can heal/damage monsters that are behind doors/walls/etc.. I'm under the impression that AOEs and explosions are a topic that's been visited more than once on here. Basically, if I can get game objects to register the tag trigger within a certain radius as long as there's no obstacles blocking, I'll be good.

terri

  • Sr. Member
  • ****
  • Posts: 386
    • terrivellmann.tumblr.com
Re: Radius Effect That Doesn't Go Through Walls
« Reply #1 on: January 15, 2017, 02:51:31 PM »
you could do a second check with a raycast to see if the enemy is behind a wall

TheStrange

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Radius Effect That Doesn't Go Through Walls
« Reply #2 on: January 15, 2017, 02:58:45 PM »
you could do a second check with a raycast to see if the enemy is behind a wall

How would I go about doing that in all directions and grabbing multiple monsters at once, while also damaging some without damaging others?