Hello everyone! I am doing a self started project for programming and I need to make an equation to figure out what angle to tilt something based on where it is on the stage.
I need an equation that gives me 45 if the object is at 0 pixels on the stage, a 90 if the object is in the center of the stage at 400 pixels, and 135 if the object is at 800 pixels on the stage. Hope that makes sense.
any help would be awesome!
Thx, Kam
I need an equation that gives me 45 if the object is at 0 pixels on the stage, a 90 if the object is in the center of the stage at 400 pixels, and 135 if the object is at 800 pixels on the stage. Hope that makes sense.
any help would be awesome!
Thx, Kam
Last edited: