renderer.plugins.interaction.mouse.global bad coords
See original GitHub issuehi ^-^ first of all thanks for such a great library
just migrated from PixiJS 5.0.0-rc.2 to PixiJS 5.2.0
const {x, y} = renderer.plugins.interaction.mouse.global;
this stuff is used to work before, but now it gives me pair of NaN’s
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
renderer.plugins.interaction.mouse.global bad coords #6356
i figured out the problem actually. x,y coordinates for some reason are always NaN if you pass the custom canvas to the Renderer...
Read more >new PIXI.interaction.InteractionManager (renderer, options)
The interaction manager deals with mouse, touch and pointer events. Any DisplayObject can be interactive if its interactive parameter is set to true...
Read more >"InteractionManager"-Get Where Mouse Screen (X, Y)?
Coords are in "renderer.plugins.interaction.mouse.global", and if you want multitouch, you have to handle it per event, it cant be done with ...
Read more >Mouse control is lost after using vtk interactor
I'm able to get the point coordinate by selecting the point using OnRightButtonDown() "overrid" . However, I loose control of my window ....
Read more >Rays from the Camera
This is a very useful way to locate an object based on its onscreen image. For example, the object at the mouse position...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Если хочешь, можешь зайти на https://t.me/gamedevforweb и https://t.me/threejs_ru - там мы помогаем с пикси и с другими штуками по html5-играм на русском.
спасибо)