Hi - Have noticed that my raycasting method no longer works - Am assuming my method is now depreciated - but can’t find a post concerning the fix / new method. It used to be…
var from = this.entity.camera.screenToWorld(e.x, e.y, this.entity.camera.nearClip);
var to = this.entity.camera.screenToWorld(e.x, e.y, this.entity.camera.farClip);
this.app.systems.rigidbody.raycastFirst(from, to, function (result) { ...etc.etc...
ok cheers for any help, I’ll keep trawling the forum for the fix in the meantime