|
ShapeDebug | |
ShapeDebug ShapeIndex, State | |
Parameters: ShapeIndex = The Index of the shape you wish to set the debug property in State = The debug state (0=OFF, 1= ON) |
|
Returns: NONE | |
ShapeDebug turns the shapes debug mode (1)on or (0)off. The debug mode will make PlayBASIC render the shapes bounding radius. The bound radius is the circle that encapsulates the shapes vertices no matter how they're rotated or scaled. This is most useful when working with collisions between shapes or sprites. FACTS: If you modify the shapes vertex and the bounding radius seems wrong, then you'll need to refresh it using the RefreshShape command. Mini Tutorial:
|
Related Info: | DrawShape | GetShapeDebug | LineHitShape | PointHitShape | ShapeHitShape : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |