hello im trying make simple drag and drop inventory.
First thing how do i display dragging effect properly in 3d game?
Because when i use set position to mouse.x and mouse.y dragged obiect is not under mouse cursor, thic can vbe repaired? (drag color and try move somewhere in viewport)
media.giphy.com/media/Oq4KhXpNa7PWFGpGlP/giphy.gif
Second thing i need help with right placing dragged items in empty slot.
here is my example
dropbox.com/s/1hzo55zphoht046/dragdrop.c3p
Develop games in your browser. Powerful, performant & highly capable.
Sorry i can't check your file at the moment, but perhaps the inventory layer needs to be set to 2d render and not 3d?
Also you can you mouse.x("layer name") to get the coordinates of a specific layer, as they will be different between 2d and 3d.