Hello Devs,
i got a math problem with an isometric grid. I got an object “Platzieren” wich is snapping to the mouse cursor in a specific grid: Width:100 Height: 57
Then i got another object “Beginning” wich is also snapped to this grid but solid on the map.
Now i want, if a special action happens (Left Mouse Button pressed) that the object “Platzierbar” is snapping to the grid and snapping to the mouse cursor from the Position of the object “Beginning”.
Basically it should snap on the blue line i drew on the screenshot but also snap to the grid.(This is for the graphic that the tiles match together) I tried to work with the code from screenshot one but i just cant figure it out. Probably the solution is too esay and i just dont get it.
Sorry for the bad english, if u need mor clarification for my problem feel free to ask me. Thank you in advance. ~ MrKittixon