- Home /
Question by
theOtherHolmes · Aug 14, 2016 at 05:23 AM ·
rigidbodycenterofmass
Can AddRelativeTorque take centerOfMass into account?
My question says it all. I am experimenting with rigidbody.AddRelativeTorque and rigidbody.centerOfMass, but changing centerOfMass seems to have no effect on the torque. AddRelativeTorque always creates rotation around the object's origin, regardless of centerOfMass.
Is this a feature or a bug? Or must I be doing something wrong? (I have verified at runtime that the center of mass really did change.)
Comment
Answer by dogtorque · Aug 14, 2016 at 05:32 AM
Well... Yes and no... from what I understand the AddRelativeTorque applys torque in the center of the object but depending on were the center of mass is it effects how the object rotates...physics it's a complicated thing!
Your answer
![](https://koobas.hobune.stream/wayback/20220612090756im_/https://answers.unity.com/themes/thub/images/avi.jpg)