AddObjectShapeBox
Description
Adds a box collision shape to a compound shape. First set the objects shape to a compound collision shape with SetObjectShapeCompound().
Definition
AddObjectShapeBox( objID, positionVec3, rotationVec3, sizeVec3 )
void agk::AddObjectShapeBox( int objID, int positionVec3, int rotationVec3, int sizeVec3 )
Parameters
- objID - object ID
- positionVec3 - The vector Id of the vector with the world position for the center of the shape.
- rotationVec3 - The vector ID of the vector with the world rotation of the shape.
- sizeVec3 - The vector ID of the vector with the size of the shape.