edit: don't try to transform_get_*(ent, ...) if not transform_has(ent)