pixi3d icon indicating copy to clipboard operation
pixi3d copied to clipboard

CameraOrbitControl is not touch screen friendly

Open goldenratio opened this issue 3 years ago • 1 comments

is it possible to use pointerdown and pointerup so it's touch screen friendly? https://github.com/jnsmalm/pixi3d/blob/develop/src/camera/camera-orbit-control.ts#L42

goldenratio avatar Sep 16 '21 13:09 goldenratio

Yes, want to do this but didn't have the time yet.

jnsmalm avatar Sep 16 '21 19:09 jnsmalm

@goldenratio @jnsmalm I needed this feature too, so I made a pull request for it here: https://github.com/jnsmalm/pixi3d/pull/163

dev-zuo avatar Mar 04 '23 05:03 dev-zuo

Thanks @lovelle-cardoso ! Will be available in next release.

jnsmalm avatar Mar 05 '23 19:03 jnsmalm

@lovelle-cardoso When I try to use the orbit camera now I get an error in console (even though the functionality seems to work fine). I use a normal mouse/trackpad and macOS/Chrome. Would you have time to have a look?

image

jnsmalm avatar Mar 11 '23 14:03 jnsmalm

@jnsmalm Sure thing! Should be fixed here: https://github.com/jnsmalm/pixi3d/pull/168

dev-zuo avatar Mar 11 '23 20:03 dev-zuo

@jnsmalm Cleaned up PR here https://github.com/jnsmalm/pixi3d/pull/170

dev-zuo avatar Mar 12 '23 19:03 dev-zuo