I've a problem with modelsunderray. When I stand still with
my model, the ray shoots in the direction were the model "looks",
but when I rotate the model I want it to shoot the ray in the
direction were the model "looks" now.
I hope you understand what I mean.
In your 3D scene, you have a world coordinate system with
fixed x, y , z axis and
a local coordinate system for each object in the scene. So,
if you rotate a model
relative to its self, you'll rotate the local x, y, z axi
with them. So, if you
send a ray with the modelUnderRay technique along the axis of
a model, then that
axis and ray will rotate. You can see this in my tutorial at: