playMaker

Author Topic: Passing through object problem  (Read 1887 times)

IIKII

  • Full Member
  • ***
  • Posts: 139
  • Lonely developer
    • Patreon
Passing through object problem
« on: January 14, 2015, 04:48:07 AM »
Hi,

My enemy has a box collider which prevent my player from walking through him. But when my enemy is playing a animation state, i am able to walk through him. It is as if the box collider loses its function when the enemy is playing the animation.

Can way to prevent the player from passing through or any other solutions?
Support me on Patreon for free adventure games and development insights - https://www.patreon.com/koexstudio

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: Passing through object problem
« Reply #1 on: January 19, 2015, 02:59:37 AM »
Hi,

Can you double check that your collider is not disabled when the animation is playing? that's the first thing to do,

then, maybe ti gets shifted in depth, and you don't notice it, they need to be aligned. You are in 2d right?

 Bye

 Jean