The trigger to add a rectangle to a region. Does that add to whats arleady there or does it replace. And if it only adds is there a way to reset the region?
Again, the trigger to add a rectangle requires 4 points, does this mean that the points I enter dont have to form a rectangle or does GE check if the do?
Also how does GE calculate the center of a region? I'm trying to attach a region, by the way of one of its vertexs, to a unit. This region rotates with the unit so I need to know how to calculate the offset.
Center of region is most likely done by making lines from each corner to the opposite one, and where those lines cross, that's the center. Also, aren't regions like... either a rectangle or a circle? They'll always have the same center compared to the rest of the region.
The trigger to add a rectangle to a region. Does that add to whats arleady there or does it replace. And if it only adds is there a way to reset the region?
Again, the trigger to add a rectangle requires 4 points, does this mean that the points I enter dont have to form a rectangle or does GE check if the do?
Also how does GE calculate the center of a region? I'm trying to attach a region, by the way of one of its vertexs, to a unit. This region rotates with the unit so I need to know how to calculate the offset.
Center of region is most likely done by making lines from each corner to the opposite one, and where those lines cross, that's the center. Also, aren't regions like... either a rectangle or a circle? They'll always have the same center compared to the rest of the region.
Well, if creating a rectangle doesn't mean it has to be an actual rectangle, then I'm gonna make it into a triangle.
Can anyone help me? I really need to know this stuff before I start finalizing my math.