I’m trying to get the Yaw
of a prop (should return a float
). I know we can get rotation but I specifically only want to read the Yaw.
1 Like
You need to read it from the rotation object like so:
if(Yaw := CreativeProp.GetTransform().Rotation.GetYawPitchRollDegrees()[0]):
# Do something with Yaw
Edit: When I saw this it seems like a mild inconvenience having to check for the value at array index. A tuple
or a vector3
might have been nicer.
2 Likes
Thanks, that’s an odd way to read it!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.