Hi everyone,
What is the correct way/formula to convert a normal vector to pitch, roll and yaw values ? I’m getting lost in the math
The idea is that I have a vector normal to a surface (can be the ground or not) and would like to place a prop so that the prop is in the same direction as the normal
And the only way, that I know of, to set an orientation of a prop is through SetEntityRotation
https://docs.fivem.net/natives/?_0x8524A8B0171D5E07