Forum rules - please read before posting.

stop walking

Hi ,
How to make the player stop walking when it hits an obstacle ? (in 2.5 D and  3 D )

Comments

  • Add a Collider to the obstacle, as well as a Collider + Rigidbody to the player.

    The 3D Demo scene + Player is set up with such colliders to test with.  If you load up the 3D Demo from the top toolbar, and set the Movement method to Direct (in the Settings Manager), then the player will be blocked by wall colliders instead of the NavMesh when moving.
  • edited January 2018
    My detailed problem :



    (Have added the Collider to the obstacle and a Collider + Rigidbody to the player. )


  • So he's not going through it, but still playing the animation?

    Check Slow movement near wall colliders? in the Player's Inspector, and then set the layer name to match that of your table's collider.
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.