playMaker

Author Topic: Collider issue  (Read 109 times)

Terry213

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

Video:
https://vimeo.com/225088490

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2278
    • View Profile
    • jinxtergames
Re: Collider issue
« Reply #1 on: July 11, 2017, 07: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: 349
    • View Profile
    • terrivellmann.tumblr.com
Re: Collider issue
« Reply #2 on: July 11, 2017, 08: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: 2278
    • View Profile
    • jinxtergames
Re: Collider issue
« Reply #3 on: July 11, 2017, 08: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.