jit.phys.ghost central_torque_impulse ? (feature request)

    Feb 28 2017 | 4:32 pm
    I am looking for a way to apply a central torque to a jit.phys.multiple, i.e. making all objects on the scren turn around a central node, like a whirlpool. I can see there is a central_impulse message, but no central_torque_impulse ... Am I missing something ? Should this be considered a feature request ? Do anyone think of any alternative meanwhile ? thanks - Vincent

    • Feb 28 2017 | 6:34 pm
      maybe the Day 6 physics patch-a-day will offer you some insight: https://cycling74.com/tutorials/00-physics-patch-a-day/
    • Feb 28 2017 | 10:40 pm
      hi Rob,
      thanks for reminding of the nice patches-a-day.
      I had come up with a similar solution using force matrix, but this central torque force was something so similar to the central_force that I thought there could be a simpler (and lighter) way to handle it...
      A small detail yet (that may actually make the case not so similar) is that computing the orthogonal vector to use it as the force causes divergence if damping is not equal to 1. (see patcher below)
      I imagine the damping is acting like a kind of smoothing filter on force matrix, which results to this loose steering.
      Is there a way to know the relation to compensate it ?