So basically I was trying to find a way to spawn a prop where your character is looking (the location). And my idea was to get the location of your character’s head with .GetViewLocation() and rotation with .GetViewRotation(). After that we have the formula Tan = O/A so Tan(Rotation)*A = O.
A is the height(Z) of Location and we have rotation so we could get O and add it to distance of character from spawn to have the position you’re looking at.
But is there any easier way? Because I can’t seem to find Tangent function in verse so my technique won’t work.