Hopefully a simple question. I started with the Top-Down template and I’d like to switch it over to use the Mover plugin. How exactly do I set this up? For the ThirdPerson template it’s pretty straightforward, but I’m having trouble Top-Down.
- Added both the CharacterMover and NavMover component.
- Added the NavWalking movement mode to CharacterMover.
- Ticked CanWalk in NavMover.
- I’m using QueueNextMovementMode to set the movement mode to NavWalking.
- Added the ProduceInput interface.
- Set up MakeMoverInputCmdContext. SetDirectionInput reads the result of GetUnitDirection(Vector) from the default Follow function in the controller BP.
- Confirmed that GetUnitDirection(Vector) is a valid vector.
- Confirmed there’s navmesh under the character.
Character just stands still. Again, I’ve tried setting this up for ThirdPerson template. No problems. Basically the only difference between them is the input for SetDirectionInput because I’m using SimpleMoveToLocation instead of WASD input, and also I didn’t add NavMover to ThirdPerson.
What am I doing wrong here?
¯\_(ツ)_/¯