max123 Posted October 27, 2016 Share Posted October 27, 2016 Hi, Another head scratcher for me: I'm trying to cast rays to detect if an a object (A) is in "view" of another object (B).B has got lookAt(A) attached to it, so this is how I'm constructing the ray: var ray = new BABYLON.Ray(this.mesh.position, this.mesh.rotationQuaternion.toEulerAngles().normalize()); It's not working, so what am I doing wrong? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.