I am trying to make a system where I can grab a box with my mouse cursor. The box keeps snapping out of location from the cursor, and I can’t grab it with physics enabled. Please help!
Please post script! It might be the case of tracing against the box while you’re already holding it, which would create a crazy feedback loop. It might be another 10 things, too.
Have a look at this post, there are examples of moving an actor with the mouse using a specific axis:
The script you’re showing seems to suffer from the issue I mentioned originally, you keep tracing against the component you’re already holding so the position keeps shifting.