How to raycast with WorldModels

I’m trying to figure out how I can use raycasting in WorldModels. Mainly I’m trying to figure out how to use raycasting from the mouse and translate that to a position in the WorldModel. I’ve already seen the announcement post on WorldModels and I’ve seen the actual documentation on the developer hub but I still don’t understand how I can use it to raycast inside the viewport frame.

Looking for a solution to this as well.

Yeah it’s difficult because the default 2d to 3d camera functions do not seem to work. Luckily found a post which had the functions to do it.