SetObjectShapeSphere

Description

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

Definition

SetObjectShapeSphere( objID )

SetObjectShapeSphere( objID, diameter )

Parameters