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