CreateObjectCapsule
Description
Creates a Capsule primitive.
Definition
CreateObjectCapsule( objID, diameter, height, axis )
void agk::CreateObjectCapsule( UINT objID, float diameter, float height, int axis )
integer CreateObjectCapsule( diameter, height, axis )
UINT agk::CreateObjectCapsule( float diameter, float height, int axis )
Parameters
- objID - The ID to use for the new object.
- diameter - The diameter of the capsule.
- height - The height of the capsule
- axis - 0 = X, 1 = Y, Z = 2