How I can make guardback and hitback?

I want my character move back when guard or hit by enemy. How I can do that?

I do not want walk back, I want slide to opposite direction to enemy when Guard or hit.

Since the Character Movement Component understands physical impulses, you can do just that - Add Impulse in the desired direction and with desired magnitude.

hit>set actor location(new location =self location-enemy location and then * a given distance ) meanwhile play animation accordingly.

Well that’s what I have in mind,not sure if it works.

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