CreateObjectBox
Description
Creates a 3D box with the given width (X), height (Y), and length (Z). Returns an ID you can use to reference this object in other commands.
Definition
integer CreateObjectBox( width, height, length )
uint32_t agk::CreateObjectBox( float width, float height, float length )
CreateObjectBox( objID, width, height, length )
void agk::CreateObjectBox( uint32_t objID, float width, float height, float length )
Parameters
- width - The size of the object in the X direction.
- height - The size of the object in the Y direction.
- length - The size of the object in the Z direction.
- objID - The ID to use for the new object.