I cant find this function in runtime methods, how can I check Overlapping at offset by code?
I guess you could move the object by the offset, check for overlap, then move it back.
Develop games in your browser. Powerful, performant & highly capable.
This is my code, can you help me? I cant make it work with an offset
I do all I can to avoid using JavaScript usually, but the solution is just like I said. You pass offsetX and offsetY to the condition and then before you use testOverlap you add the offsets to the inst position, then after the test you subtract it.