Can I move a character that is not possesed by player?

I want to move two characters at once

I got that a character not possesed can not get input from a player, So I have my characters move by using a function ‘add movement input’ In level blueprint.

The result is, just possesed character moves.

I should use character movement cause Character supports not only collision algorithm, but also climbing stair algorithm

Is there any good ideas? Plz help me.

Here’s the basic concept of what you need to do:

  • You need to get a reference to your characters. I kept mine in an array when doing this.
  • You can add or remove characters from your array to determine which will currently receive orders.
  • When sending orders, all characters in the array are told to execute a function.

I don’t have access to the engine here to put together an example in blueprints, unfortunately. Could you maybe elaborate on what kind of game you’re trying to make?

Thank you for your answer.

I got the references of two characters by dragging and dropping them from world outliner.

at first, It doesn’t works, But now It works.

maybe I took some mistakes.

here is my level blueprint

Glad to see you got it working! :slight_smile: When I did this I just used “AI Move To” - you’ll just have to fetch the character’s controller for reference.

Oh… nice information. Thank you!