get total forces/torque on a given .obj
Posted: Wed Oct 30, 2019 10:21 pm
Is there any easy of way of getting total torque/forces on an object?
I imported two .obj into the environment on a plane and am able to use getContactPoints() that have the normal forces and each contact force, but really need torque/total forces on a given object. Do I need to calculate this* and sum them up to get them, or is there some existing function that already does this? It would be like having a torque sensor at the center of gravity of the object. (this object also has forces acting upon it, just to be clear)
*(getting torque by using distance of forces is from center of gravity of the object and summing them, and also getting forces from this).
Any advice would be much appreciated!
I imported two .obj into the environment on a plane and am able to use getContactPoints() that have the normal forces and each contact force, but really need torque/total forces on a given object. Do I need to calculate this* and sum them up to get them, or is there some existing function that already does this? It would be like having a torque sensor at the center of gravity of the object. (this object also has forces acting upon it, just to be clear)
*(getting torque by using distance of forces is from center of gravity of the object and summing them, and also getting forces from this).
Any advice would be much appreciated!