thunderrabbit / conswi

A swipe game for Godot 3
GNU General Public License v3.0
4 stars 4 forks source link

Drag tiles with physics, not set_position #31

Closed thunderrabbit closed 5 years ago

thunderrabbit commented 5 years ago

25 will be solved with physics, so we cannot just force pieces via set_position

Need to have them follow the mouse with physics hints. This looks likely to work: https://godotengine.org/qa/3051/how-to-drag-a-physics-body-with-touch