"objectsOverlap" not working beyond the window resolution: #16215
Description
Describe your bug here.
So basically i was trying to give an objects physics like a 2D platformer character (don't ask why). So i thought that for the collisions with the ground, I should use 'objectsOverlap(tag1, tag2)
', which works. But for some obscure reasons, it only works if the "player" object's position is within the range of X: 0
to X: 1280
(the current window and stage width). Past the X: 1280
point, 'objectsOverlap
' will just return false
no matter what, breaking my collision system in the process. (PS: It doesnt work if X < -0
either.)
My friend and I theorized it may related to the window or stage's width since changing it's size also affects where does the function stop working but Idk.
So if any of you have a whatsoever idea or maybe even fix to whatever is happening here, that would be greatly appreciated.. ^^'
Command Prompt/Terminal logs (if existing)
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
Nope.