Download

How to drag and place the object/actor from one location to another location using touch?

Hi,

I am new to game development and Unreal Engine 4.

I am trying to drag and place the object from one location to another using touch for mobile game.

I have tried this blueprint but the problem is that its always setting object to location (0, 0, 0). Can you please help me how to set it to new location where I drag and release the object?

I know I should change break vector and make vector for setting it but I dont know how to do it.

Can somebody please help me to find the solution for this issue.

Thanks in advance!!!

10.JPG

Here is an example if you weren’t already looking at it:

Hi, I tried to run this blueprint. But but it has many problems:

*sometimes its hitting on the face and sometimes its location is also fixed (I hope it goes to (0, 0, 0)). I dont think its following the touch position correctly. I think speed has to set. But I dont know how…

*Another problem is that if I reduce the size of StaticMesh it vanishes or disappears and sometimes if I release the touch, it again vanishes or disappears.

I can even send my project details.

Can somebody please help me to find the solution for this issue.