- Home /
drag object including free rotation
Hi guys I have a script that uses the OnMouseDrag function. When I drag an object, everything is fine except the physics of the rigid body. I want to create something like dragging this object using the center of mass (changing to wherever i catches it). Simply put, when I hold the object, I want it to stay at the mouse cursor position and rotate according to its mass center. Thanks for any ideas
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613004251im_/https://answers.unity.com/themes/thub/images/avi.jpg)