SetObjectShapeStaticPolygon

Description

Sets the objects collision shape to a static triangle mesh based on the size of the object. The object becomes a static object a triangle mesh shape can not be dynamic. You must first create a physics body for the object or this command will fail.

Definition

SetObjectShapeStaticPolygon( objID )

Parameters