Forum rules - please read before posting.

My NPC is being a bit of a pushover...

edited October 2014 in Engine development
Hello! I've been trying to set up my first NPC following the tutorial here:


and while everything has gone more or less according to plan, I am having a little issue with my Player pushing the NPC around when the Player navs to the NPC's position.

I've tried setting "Freeze when idle?" to true, but that doesn't seem to help

Playing around with the RigidBody2D component directly (for instance setting IsKinematic or setting mass/drag to a really high value) obviously fixes this but I am not sure this is "recommended"?

Comments

  • You may have luck simple checking one or both of their Colliders to Is trigger.  This effect is down to Unity's physics system - AC doesn't try to replace or conflict with it, so solving this by tweaking the standard physics / collider components is definitely the recommended way to go.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.