Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Terry213 on July 11, 2017, 08:55:52 AM

Title: Collider issue
Post by: Terry213 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
Title: Re: Collider issue
Post by: djaydino 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
Title: Re: Collider issue
Post by: terri 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
Title: Re: Collider issue
Post by: djaydino 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.