SetObjectShapeBox

Description

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

Definition

SetObjectShapeBox( objID, sizeX, sizeY, sizeZ )

SetObjectShapeBox( objID, vectorID )

SetObjectShapeBox( objID )

Parameters