Help with a line from the player

Hi, the question is that I need to check if the player falls face first against the floor, or backwards, all this to run a recovery animation after the ragdoll effect.

However this does not work for me as I expect. The idea is that the line points from the pelvis to the front of the player.

I welcome any suggestions.

Hello! You can just use UArrowComponent

Thanks for the suggestion, but I have a question, how can I know if that arrow collides with any object?

Hi YueDarkkkkk.

If I understand your question correctly, then you can simply use the forward vector as shown in the screenshots.

Hope, this is helpful for you)