Download

Click and drag to move camera

Hello,

I’m trying to sort out how to create a click and drag camera movement. Similar to the right-click and drag controls inside of Blueprint except in 3D space (z plane is locked, so it is basically 2D). I’ve tried using ConvertMouseLocationToWorldSpace node with Add Movement Input, but this acts more like a sliding action than a firm click and drag type of movement. I’ve also tried several set location nodes but they snap to a location way off from the current one.

Any ideas? I’ve looked all over for reference to this but haven’t found a good solution yet.