CreateObjectCapsule
Description
Creates a Capsule primitive.
Definition
CreateObjectCapsule( objID, diameter, height, axis )
void agk::CreateObjectCapsule( uint32_t objID, float diameter, float height, int axis )
integer CreateObjectCapsule( diameter, height, axis )
uint32_t 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