Hello all and sorry in advance for my English.
Let's say that these objects represent a tank;
<img src="http://i42.tinypic.com/2ywuvsk.png" border="0" />
- Green object is a platform on which the yellow object is mounted.
- Green object moves in any direction in 360 degrees.
- Yellow object can rotate at 120 degrees but only in the direction of where green object is facing.
Yellow object should always rotate to the mouse cursor, but only when that above rule (about 120 degrees) works.
Here is what I have and it works fine ...
<img src="http://i41.tinypic.com/j0vdqp.png" border="0" />
... but when green object is facing the right direction, yellow object starts spinning like crazy around its own axis.
I do not know how to fix it, and I know that the problem lies in the fact that the 0 degree is aimed right in Construct. Any ideas guys?