These attributes define the "bounding box" of an entity (the area that it occupies). This is used in collision detection, for example. This area is also highlighted when the unit is selected.

Example:

        <Traits>
 		<Footprint
 			radius="1.5"
 			width="3.0"
 			depth="3.0"
 			height="7.5"
 		/>
  	</Traits>

Radius

BRIEF DESCRIPTION :: Radius defines the x/y dimensions of a unit that is as equally long as it is wide. Units with a radius have a circular selection indicator.

If a unit has Radius (eg a soldier or tree), it should not have the mutually exclusive Width/Height? properties.

Width

BRIEF DESCRIPTION :: Width defines the "length" or "x" axis of a rectangular entity. It should be paired with Depth.

If a unit has Width and Depth (eg a building), it should not have the mutually exclusive Radius property.

Depth

BRIEF DESCRIPTION :: Depth defines the "breadth" or "z" axis of a rectangular entity. It should be paired with Width.

If a unit has Width and Depth (eg a building), it should not have the mutually exclusive Radius property.

Height

BRIEF DESCRIPTION :: Height defines the "vertical" or "y" axis of an entity.

Both circular and rectangular entities should have a height.

Last modified 9 years ago Last modified on Feb 23, 2008 3:18:59 AM