phys.body velocity?

    Apr 10 2012 | 11:52 am
    hi all
    im wondering if theres an in-build way to know the velocity of a phys.body?

    • Apr 10 2012 | 4:30 pm
      not currently, but it's really easy to calculate. it may find it's way as an attribute in a future release:
    • Apr 12 2012 | 8:36 pm
      hi Robert!
      great to have it as an attrib in the future..
      folowing with your patch, im getting wrong values, dont know how to say it in english, but like interferences... doing something wrong?
    • Apr 12 2012 | 9:43 pm
      well, velocity is a vector, so perhaps you want the magnitude of the velocity (speed).
    • Apr 23 2012 | 5:33 pm
      ouh yes,, more precise, now you see why i ask for the attribute.. ;)
      even do if i change the qmetro from 5 to 20 in your patch im getting also glitching values, but i find (dont ask how) that changing fixedtimestep to 50 or maxsubsteps to 2 fix the issue. :-?
      so seems important to match the overall fps with those settings... ?
      thank you very much!