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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×