Hey man, great video! I just have a suggestion for anyone who's watching this tutorial. If you want a smoother rotation when your player is moving, add the rotation method before setting the navmesh agent destination. Something like this: var destination = playerTransform.position + playerTransform.forward * input.y + playerTransform.right * input.x; Rotate(input); navMeshAgent.destination = destination;
I'm quite sure that you can trigger the off-mesh link automatically and disable the player input (or just trigger the jump on player pressing spacebar). When you land all you need to do is reenable player direct input control. I think you need to add a custom scrpt anyho to the off-mesh links so that you can trigger an animation or any custom code of yours no?
You can use this setup with any assets that you want. You don't have to use Kaykit. I am sure there are some great tutorials about importing 3d models to unity on YT 😉
You can place off-mesh links on the navmesh and have character jum them automatically but for the most part navmesh is not the solution if you desire more arcadish styled controls (check out character controller for that) . docs.unity3d.com/Manual/nav-BuildingOffMeshLinksAutomatically.html
Hey man, great video! I just have a suggestion for anyone who's watching this tutorial. If you want a smoother rotation when your player is moving, add the rotation method before setting the navmesh agent destination.
Something like this:
var destination = playerTransform.position + playerTransform.forward * input.y + playerTransform.right * input.x;
Rotate(input);
navMeshAgent.destination = destination;
Thanks for the tip! 👍
Amazing video!
Thanks!
Thanks man, I was trying to figure this out for hours.
How can I apply this on a navmesh with several off-mesh links?
I'm quite sure that you can trigger the off-mesh link automatically and disable the player input (or just trigger the jump on player pressing spacebar). When you land all you need to do is reenable player direct input control. I think you need to add a custom scrpt anyho to the off-mesh links so that you can trigger an animation or any custom code of yours no?
how to import this into unitty the files downloaded cannot be added to an unity
You can use this setup with any assets that you want. You don't have to use Kaykit. I am sure there are some great tutorials about importing 3d models to unity on YT 😉
thanks but how to make it jump using space bar to ?
You can place off-mesh links on the navmesh and have character jum them automatically but for the most part navmesh is not the solution if you desire more arcadish styled controls (check out character controller for that) . docs.unity3d.com/Manual/nav-BuildingOffMeshLinksAutomatically.html
@@SunnyValleyStudio thanks for replaying
Want to know more abt the door
Thanks for the feedback! I will make an additional vid about those :)
@@SunnyValleyStudio Make 3D RPG if it's possible, ty!
It it easy to do knockback in combat with nav mesh
Really? I did not know that