Is it possible to simulate physics for Ai character?

Hello, i wanna ask if it is possible to do something like… When player hit T the Ai character would simulate physics. Im asking because i tried to do it. And it doesnt worked. What have i done wrong or how should i make it work ? Thanks.

  1. picture : Function in ai character
  2. picture : simple blueprint in main character

You run the code on your playercharacter, not on the AI - so your player simulates physic, not the AI. And your player in your setup will not simulate physics, because of the cast will fail. You need to feed in the AI character except of the “getPlayerCharacter” Node (Get one with for example GetAllActorsOfClass)

@FatherOfAllGames did it work?