S
S
ShakhDolphin2020-05-25 11:30:07
Mobile development
ShakhDolphin, 2020-05-25 11:30:07

How to move a game object around the screen with finger touch in mobile games?

5ecb80390f585749197518.jpeg
In general, the essence is this - there is an object on the 2d scene, you need to move it with your finger across the screen along one axis (Z for example) how it is implemented and what type of blueprint is better to use (I have a spawn), on YouTube examples are only for the widget and the camera, for me you need to move the object, I will not be surprised that the solution is simple. On the screen, a slightly altered camera movement blueprint and according to this script, the object moves as it should across the scene, BUT it changes position when you click on the screen again in another place. Something like this.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question