Raycast from a 3D model -> direction

Is it possible to create a raycast from a 3D model in a direction? to determine if it hits something eg: 10 units in front of it?

It seems like the 3D Raycast extension might work, but i’m not sure how to calculate the rotation and elevation angles.

Ideally it would be nice to have an extension that looks x distance along a x/y/z angle from the object. Is that possible?