Yarchick1034 Posted March 15 Share Posted March 15 (edited) Hello everyone! My question is about "containsPoint" in PIXI v8, I developed a drag'n'drop module for my game. I use graphics and containsPoint to map my mouse coordinates to a polygon, ellipse, etc. In pixi v7.x.x everything works very well, a couple of days ago I started porting my engine to v8, all the features work fine too. But when I started testing my DnD I saw a strange behavior, maybe it's a new behavior in v8 and it's part of optimization. When moving the graphic to a different position, the movement is not registered for containsPoint. To understand what I'm talking about, below are some examples: https://jsfiddle.net/Yarchick1034/vw5h7sfr/126/ https://jsfiddle.net/Yarchick1034/c6v4ym2f/40/ Edited March 16 by Yarchick1034 for greater understanding Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.