flattened rect object into physics entity