playMaker

Author Topic: Detect sides from Box2d Collider  (Read 174 times)

ch1ky3n

  • Full Member
  • ***
  • Posts: 185
    • View Profile
Detect sides from Box2d Collider
« on: April 23, 2021, 03:14:34 AM »
This action will detect which side (Up, Bottom, Left, Right) of the collision and send FsmEvent accordingly

I used the original collision2dEvent action and modified it only when the collision enter.