Download

Moving objects with the mouse on a floor

Hi, I’m trying to move objects with the mouse. I use Get Hit Result Under Cursor for Object node to get the floor coordinates, but when I click on the actor for this first time it slightly slips. What I want is the object to stay where it is when I click and after to follow the mouse.
The actor to move is a simple furniture with box collision.
This is the blueprint I’m using:
(Move objects with mouse posted by anonymous | blueprintUE | PasteBin For Unreal Engine 4)
What can I do?
Thank you very much.