SetObjectShapeBox
Description
Sets the collision shape to a box based on the size passed in. You must first create a physics body for the object or this command will fail.
Definition
SetObjectShapeBox( objID, sizeX, sizeY, sizeZ )
void agk::SetObjectShapeBox( UINT objID, float sizeX, float sizeY, float sizeZ )
SetObjectShapeBox( objID, vectorID )
void agk::SetObjectShapeBox( UINT objID, UINT vectorID )
SetObjectShapeBox( objID )
void agk::SetObjectShapeBox( UINT objID )
Parameters
- objID - object ID
- sizeX - dimension on the x axis
- sizeY - dimension on the Y axis
- sizeZ - dimension on the Z axis
- vectorID - Id of a dimension vector