I’m trying to figure out a way to add torque to a position of an object.
For example; I have a chair and I want to rotate it by the individual legs attached to the chair. I need to apply torque to the main rigidbody based on the location of the legs to rotate it, so that the body rotates around the leg position.
Kinda like how Transform.RotateAround works, however using Torque and Physics.
I’ve tried using Rigidbody.AddRelativeTorque but the results are not what I’m hoping for.
Unfortunately, that’s not really a thing in physics. Torque is defined as a rotational force around an object’s center of gravity. In physics, objects will typically only rotate around their center of gravity… there is no other pivot.
So, to do what you’re asking, you need a non-physics solution.