First off, like many others, thank you for developing these tools. You are really making high-quality tools for people to start game developing without having to build the basics. This helps beginners like me.
Is it possible to have a combination of the Directional and Point And Click navigation player inputs? I'm looking to control the player with both methods; if a player clicks to move, they can cancel their direction by moving by navigation keys. Likewise if moving but then click a location, the nav mesh will take the player to the clicked location.
I did some snooping in the code and it appears LocomotionSystemDirectional and LocomotionSystemTarget would need to be combined. Very roughly, this seems like the best way to go about this?
public override Update()
// Grab input (ie. this.desiredDirection - from LocomotionSystemDirectional)
// If this.desiredDirection is non-zero, get the NavMeshAgent, stop it
// Move player based on input (ie same code from LocomotionSystemDirectional)
// else if this.desiredDirection is zero, and if NavMeshAgent.pathPending, then move player
Customer support service by UserEcho