Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

  • 0
themars2011

NavMesh custom walking behaviour

Question

Hey guys,

 

I'm trying to implement a dog that can only move in certain ways, running forward, walking and turning and strafe left / right if necessary.

 

Obvisouly, I need pathfinding. It mostly follows the player but also needs to do other things, which I can implement later when this is done.

 

Any points in the right direction? Default NavMesh Agent does not fit my needs at all because it slides and that which is not what I want.

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Well you can still use nav mesh, just have to make your own agent then. Just get the path to the target, clamp the direction and use a rigid controller/char controller for physics stuff. If clamped direction compared to controller forward is at a greater angle than 5, rotate to target direction, else move forward

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...