I’ve looked this up and I don’t think I’ve seen the answer but I also could just flat out be wrong.
My goal is to be able to pick up a 3d object and drag it around. It will be set to a certain z value, interpolated to that value to give the pick up feel, but then the z value won’t change until it’s “dropped” or let go of.
I can pick up the object and move it around, I can even do it so it doesn’t snap directly to the middle of the mouse, so you can pick up the edge of the object and drag it around by that. The issue is where you grab it does not remain where the mouse is, if that makes sense. If I had the numbers 1 2 3 on the object and grabbed the object by 1 and dragged it around, it’s likely when I stopped dragging it around my mouse could be resting over 2.
I am not sure how to tackle this inconsistency and have tried a few methods. I’m wondering if anyone has any insight on this. Or perhaps can direct me to a thread where this issue is discussed already.
Thank you for your time.