Can anybody help me with the following-
My game has the following objects
A 3d Box object (gun) with 2 buttons(up and down) that change the boxes pitch.
A cross-hair sight that only moves in the Y direction (depending on the 3d boxes pitch)
The 3d boxes pitch range needs start at 24 degrees and end at -24 degrees.
When the 3d boxes pitch is at 24 the cross-hair's Y position should be 240.
When the 3d boxes pitch is at -24 the cross-hair's Y position should be 440.
Thanks in advance.