playMaker

Author Topic: Collider issue  (Read 1372 times)

Terry213

  • Playmaker Newbie
  • *
  • Posts: 43
Collider issue
« on: July 11, 2017, 08:55:52 AM »
When i give my enemy a collider, my character always runs on top of it.

Video:
Not a valid vimeo URL

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Collider issue
« Reply #1 on: July 11, 2017, 10:44:09 AM »
Hi,
in the Collider Component you can Check 'Is Trigger' then it will trigger on enter but will not collide, meaning you can walk thru it :) but still register that you hit it

terri

  • Sr. Member
  • ****
  • Posts: 386
    • terrivellmann.tumblr.com
Re: Collider issue
« Reply #2 on: July 11, 2017, 11:14:40 AM »
hmm my guess would be that the way the character's collider is being moved forces him to occupy the same space as the enemy and since that doesn't work it forces him on top

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Collider issue
« Reply #3 on: July 11, 2017, 11:10:25 PM »
Hi,
Sorry a was a bit to quick going thru the post, just ignore my last post :)

If you have a character controller, you might want to play around with your slope limit.

Or

You could also try to add a 'navmesh obstacle' on the enemy and place it on top.