I'm catching on fast to Godot, but still a few rough spots for me to figure out but it's coming along nicely.
Question I have today is -
When I call this line in a script:
var yaw = ent.rotation.y
return yaw
I get a value, but it's a small float value. I want to take that value and convert it into a 0, 360 degree value. Then I need to convert that same new number back into Godot's degree syntax to reapply it.
Basically, i need to grab the Y rotation of my mesh object and convert that number to a -180,180 ( or a 0 , 360, don't really matter for my purpose) . Then after doing what i need to do with that convert number i need to put the new Y angle back into that same Godot degree and reassign it to the mesh.
I hope this makes some sense to someone, I'm horrible at explaining stuff. lol :(