Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: serdar on September 01, 2010, 02:32:31 PM
-
hi,
I have asked a question before about this topic on forum.
http://forum.dead-code.org/index.php?topic=4426
but i have a different problem now. I created the regions dynamically but some places in my region are not catching mouse...
Am I setting wrong points...
(http://www.serdarb.com/regionpoints.png)
You can download sample project here
serdarb.com/RegionProblem.zip (http://serdarb.com/RegionProblem.zip)
-
The order of the points matters. This way you created kind of twisted regions, not rectangles (try painting the points on paper and connect them with lines).
This should work as expected (notice the points are added in clockwise order):