I am trying to define x and y position of a canvas texture when a bullet overlap it. I can get the position of the bullet, but it is in a different scene from the canvas texture. How can I detect the position of the canvas texture when overlaping occure? Thank you.
Probably
const textureX = bullet.x - target.x + target.displayOriginX
or something like that.