Hi everyone,
I am working on a game where i want to be able to click select a object and drag move it forward / backwards. The movement i want to get is like the movement of an object if you select a 100 unit grid in the engine.
How can i make it so that if i click an item and drag it, it can move forward and backwards but snaps like if it were on a grid.
If it is unclear please let me know!
Thanks in advance!