How to prohibit and restore character movement?

:slightly_smiling_face:
Hello, I would like to ask about a game about zombie shooting
Forbid zombies from moving when a bullet hits them ,The zombie leans back and then restores its mobility 。
I used the “disable movement” method,I don’t know if it’s right
I can’t find a way to restore movement
Can someone give me some prompt information :whale:

Merci beaucoup!
vielen Dank

1 Like

I’m pretty sure you have to set the movement mode you had before

2 Likes

You can also disable/enable the input… I think it is a function that belongs to the PlayerController

1 Like

It seems to have been successful

I really don’t know how to thank you :sweat_smile:

2 Likes

:grinning: I’m a police officer, not a zombie

The target of the attack is a zombie, and the zombie cannot move when a bullet hits it

Zombies don’t seem to have an “Input”

hahaha… ok, I didn’t read your question correctly…

Then you can also make a montage with the animation and say in your behavior tree that the zombie does not move

1 Like

it’s good, i like it!! congratulations!!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.