SetObjectShapeCone

Description

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

Definition

SetObjectShapeCone( objID, axis, height, diameter )

SetObjectShapeCone( objID, axis )

Parameters