timelinefx:timelinefx.tlGameObject.SetCollisionPoly
Method SetCollisionPoly:Void( x:Float, y:Float, verts:Float[], layer:Int=0 )
Set the dimensions of the objects collisionbox This will create a new poly collision with the given verts[] and set the collision type of the object to tlPOLY_COLLISION, removing the current one from the world quadtree if it's in there. Set the layer to put the object on a specific collision layer.
Parameters