- 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