Try c_trace instead of trace mode. Follow above advice. remove my.polgon = on; remove enable_polycollision = 2; that should be in main as far as I know (which isnt a lot )
Make an action for your model, action models() { set(my, POLYGON); } ...and you should be good to go.
Use the 'manual' Luke, the manual is your friend. 'Self reminder'