SetObjectShapeCylinder

Description

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

Definition

SetObjectShapeCylinder( objID, axis )

SetObjectShapeCylinder( objID, axis, height, diameter )

Parameters