Brotein
06-18-2014, 04:25 PM
Having an issue with the script I'm working on right now.
minimap.setAngle(MM_DIRECTION_SOUTH);
I would say the range of degree rotation is something like 180 +/- 20. This is causing my color searches to get messed up because the camera will rotate too far and reveal more of the scene than is needed.
Now the weird thing is that when you call....
minimap.setAngle(MM_DIRECTION_WEST);
This will rotate 90 +/- 5 o maybe even more accurate than that. So why does calling SOUTH create such a large range and become inaccurate when
WEST is almost, if not, 100% accurate to what it should rotate to?
As an example, calling SOUTH
http://i.imgur.com/tnC9t6u.png
And then WEST
http://i.imgur.com/JnJ2Bkn.png
See the clear accuracy issue?
minimap.setAngle(MM_DIRECTION_SOUTH);
I would say the range of degree rotation is something like 180 +/- 20. This is causing my color searches to get messed up because the camera will rotate too far and reveal more of the scene than is needed.
Now the weird thing is that when you call....
minimap.setAngle(MM_DIRECTION_WEST);
This will rotate 90 +/- 5 o maybe even more accurate than that. So why does calling SOUTH create such a large range and become inaccurate when
WEST is almost, if not, 100% accurate to what it should rotate to?
As an example, calling SOUTH
http://i.imgur.com/tnC9t6u.png
And then WEST
http://i.imgur.com/JnJ2Bkn.png
See the clear accuracy issue?