SetObjectShapeCapsule

Description

Sets the collision shape to a capsule based on the size passed in. You must first create a physics body for the object or this command will fail.

Definition

SetObjectShapeCapsule( objID, axis, sizeX, sizeY, sizeZ )

SetObjectShapeCapsule( objID, axis )

SetObjectShapeCapsule( objID, axis, vectorID )

Parameters