question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

renderer.plugins.interaction.mouse.global bad coords

See original GitHub issue

hi ^-^ 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

Selection_031

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ivanpopelyshevcommented, Jan 28, 2020

Если хочешь, можешь зайти на https://t.me/gamedevforweb и https://t.me/threejs_ru - там мы помогаем с пикси и с другими штуками по html5-играм на русском.

1reaction
s-r-xcommented, Jan 28, 2020

спасибо)

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found