hey~all. Why the ray can’t turn in the right direction. when camera’s parent rotated. what did i miss ?
You need to pass the camera.globalPosition
position to the camera.getForwardRay
function when the camera is parented to another object:
3 Likes
Thanks a lot ! Thanks to every babylonian . Staying with us even during the Christmas holidays.