On first time loading the game nodes with body component shows correct position, see the following image, box is at cc.v2(100,100) at 500x500 screen size, small red box is at cc.v2(0,0) for reference
But when I update screen size to 700x500 then box auto update it’s position to cc.v2(-28, 100)
If I reload the page again the box will start showing correct position again
seems like rigid bodies listening for screen resize event and adjust their position accordingly
Without rigidbody component this behaviour not occurs.
Anyone knows how to fix it?