why does bodyDef need to be accessed? box.bodiesMap[entity.id] is the body created by giving a bodyDef to box2d