git.phys.picker intermittent fail on rotating object
Hi,
This has bought my entire project to a standstill. I should be able to grab the rotating turntable platter without fail every time. But when the platter is rotating, occasionally, say once in every 30 clicks, the mouse click will fail to register. It should register every time.
I've tried altering all sorts of objects and also tried the screenraycast and raytest methods but that suffered from the same intermittent fail.
Any help appreciated !
i don't see anything wrong with your patch. There is something funky with the mouse picking in this setup though. I'll have to dig in and try to get to the bottom of this.
[edit: though you should remove that jit.gl.asyncread, it doesn't seem to be necessary ]
ok, the workaround I found seems to be get rid of @ortho 1 on your jit.gl.camera, that seems to interfere with picking, and give your cylinder more thickness, along the Y axis. a Y scale of 0.2 seemed to fix things in my testing.