I have a cannon in a game and I would like to set a Text item to the angle of the cannon. I can set the text to the height of the cannon or other stuff and it works, but for some reason the text is unable to display the angle of the cannon.
I tried setting the text to both cannongun.Angle and Angle(cannongun.ImagePointX(0),cannongun.ImagePointX(1),cannongun.ImagePointY(0),cannongun.ImagePointY(1))
but neither one would work.
How do I get the angle? Thanks.