kontra icon indicating copy to clipboard operation
kontra copied to clipboard

Investiate Pointer and Scene.lookAt issues

Open straker opened this issue 4 years ago • 2 comments

I think I completely missed testing out pointer events with objects in a Scene that uses the lookAt function. Need to do some investigating.

straker avatar Mar 15 '22 02:03 straker

Also investigate pointer events with objects in a TileEngine that uses camera.

straker avatar Mar 22 '22 04:03 straker

Confirmed that this is a problem. Seems removing all the GameObject camera code also made it so pointer events can't work on Scene and TileEngine (since they are now controlling the "camera").

straker avatar Mar 24 '22 03:03 straker

Could this cause pointer events to not work with objects that have y-values less than zero?

blakeearth avatar Nov 26 '22 21:11 blakeearth

Update on this ticket. This issue has been tricky to resolve since both Scene and TileEngine are affected, but both in different ways. The main problem is when a Scene contains a TileEngine which causes the problem to be twice as bad.

I've been trying different approaches to try to resolve, but nothing has worked nicely yet. Will continue to work on it to get it into the v9 release.

straker avatar Dec 29 '22 05:12 straker

I appreciate this update. My project did have a TileEngine inside a Scene.

I'm working on a different project now that uses TileEngine for camera and pointer features and does not mix them.

blakeearth avatar Dec 30 '22 01:12 blakeearth

Awesome!!!

blakeearth avatar Jan 28 '23 15:01 blakeearth