Need help to find the angle or direction of the character compared to the other character

A simple solution is: place one collision box around the horse for interaction then the following will work.

if the impact normal is same as forward vector, you are hitting the horses front, if impact normal is same as right vector then it right, and if it’s the opposite etc, works regardless of direction horse is facing.