playMaker

Author Topic: Raycast 2d Circle  (Read 749 times)

asimplenowouldwork

  • Playmaker Newbie
  • *
  • Posts: 1
Raycast 2d Circle
« on: April 01, 2020, 11:09:55 PM »
Hi All,

I'm trying to raycast a circle around an enemy in my 2d game.  The enemy is on a floating island, and the idea being he will shoot at the player as long as he can see him, but since the player can walk under the floating island, the shooting should stop. 
My hunting found a page describing Physics2D.CircleCast, with a description in the page saying it starts like public static RaycastHit2D CircleCast(....
I can't find that anywhere, and I certainly can't find it in Playmaker.
Is there something I can do besides drawing multiple single Raycast2d lasers out of the enemy?