How to make the players Z rotation into a varible??

How to make the players Z rotation into a varible??

Hi Kelan,

I think you could probably base this logic on what is returned when you call ‘GetViewRotation’ on a fort_character.

Getting just the Z out of the rotation struct is an interesting problem though. Ultimately you might not want to break it, but I am seeing a ‘ToString’ function that could be used on rotations.

Hope that helps.