Forum rules - please read before posting.

AC 2.5D Collision with Object Wallsor or Furniture

What is te best method to detect collision and stop animation for a player
Example: a player 3D Fbx has an Idle and a Walk animation on Mechanim based on Speed parameter
When a player walk to a wall it continues to play walk animation and does not stop to Idle .
What to to do to make him stop to Idle?
Is that also needed to make Walls collision to stop the player or Navmesh baked is sufficient?

Comments

  • It depends on your movement method.  If you're using Point And Click, your NavMesh will be sufficient.  Otherwise, you will need to place down colliders (can either be CollisionCubes from the Scene Manager or your own colliders - even a single custom Mesh Collider).

    Then check Slow movement near wall colliders? in the Player's Inspector and fill in the fields below.  This will cause the Player's movement to slow down near the walls by a given proportion.  You may need to tweak your movement values / Mecanim transitions to cause him to stop completely.
  • Ok Thank's :)
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.