cocos-engine
cocos-engine copied to clipboard
Adding A Render Target to Camera Causes camera.screenPointToRay to Generate Wrong Ray
The solution that I found, is to create a second camera, with nothing visibility and use that for raycast.