setTriggerArea – Talk

From Bohemia Interactive Community
Revision as of 22:31, 8 January 2009 by Kronzky (talk | contribs) (parameters)
Jump to navigation Jump to search

I note that the description for this has been edited to read: The area is rectangular or elliptic, the width is a, the height is b

Instead of the original description by BI of: The area is rectangular or elliptic, the width is 2*a, the height is 2*b

The original description is valid and can easily be checked. If you give the trigger dimensions in the editor of 50 X 50, this refers to the radius, so the trigger will have a diameter of 100. This applies whether it is an ellipse or a rectangle.

Planck 20:47, 8 January 2009 (CET)

I guess it's a matter of how you define "width" or "height"...
Is it the actual dimensions of the area, or just the name of the argument?
Since both definitions are valid interpretations, I've tried to clarify the parameters a bit now.
Hopefully everybody's happy now... --Kronzky 22:31, 8 January 2009 (CET)