Hello
So I’m trying to recreate the teleport function from the game Dishonored. When the player holds the button for his teleport, the player gets and indicator about wether or not he/she can jump up onto the surface.
The question I’m struggling with is to find a way for my linetrace to spawn the indicator with the correct rotation.
Basically, how do I always make my object face away from the surface no matter where on it I hit?
I made an illustration in paint to better show what I’m trying to achieve.
The challenge is to make it work on all objects no matter shape.
Thanks