Hello, I’m currently trying to make a system where my character is sent falling backward after receiving damage or when he just jumps full speed to a wall…
The idea is to emulate the concept of old beat’em’up games where characters bounces a few times on the floor after recieving a combo for example.
For now i activate the on hit of the Capsule under specific conditions (speed and so on) and i managed to Launch the character in the correct direction with the correct speed using the impact normal.
When the character impact with the wall or anything else, i have set a time freeze of a few milli-seconds
When my character Impact with the wall
i want to rotate him to lie-down flat on the wall normal, similar to how you would apply a decal to a normal but this time it would just be an orient of the capsule, so as soon as it detect the On Hit, the capsule would rotate to the wall normal but ONLY for the freeze-time duration !
when the time dilation resume back to normal the character would go back to its previous rotation and continue its course until the next impact.
I think i need to set up the “Flying” mode when the time freeze occurs so my capsule dont try to revert to its natural orientation, and revert back to “Is Falling” right after the time dilation
I know i would also need some vector math to rotation to figure the correct orientation, but i have no clue how to set it up and all my previous attempts failed
Here is 2 Video examples, A is what i currently have, 2 is what i want it to look like.
This my current Blueprint :
The issue is that no matter what i try to plug from the normal impact, i can never get the character to orient properly, and even then, i dont know what to Orient, the Actor ? the Capsule ? the control Rotation ? in world or local or relative ?
there is just too many possibilities and i can’t figure it out.
Also most of the help i can find talk about Objects (not characters) or Characters custom gravity to walk on walls, which is not what i need.
I need it to snap to the surface for a fraction of a second and then revert back to its natural orientation.
Any help would be greatly appreciated.
