int Character.BlockingHeight
Gets/sets the character's blocking height.
The blocking height determines how large of a blocking rectangle the character exerts to
stop other characters walking through it. If this is set to 0 (the default), then the
blocking rectangle is automatically calculated to be the character's width, and 5 pixels
high.
You can manually change the setting by entering a blocking height in pixels, which is the
size of walkable area that the character effectively removes by standing on it.
NOTE: This property has no effect unless the Solid property
is set to true.
Example:
cEgo.BlockingHeight = 20;
will make EGO block 20 pixels high (10 above and 10 below his baseline)
See Also: Character.BlockingWidth,
Character.Solid
|