Why does your canvas have to be a world space canvas, if you want to make your floating texts behave pretty much like those were on a screen space canvas?
Do you plan on doing something specific perhaps that requires a world space canvas?
Anyway, if not, floating texts can be done like this: