Turn linearVelocity into a method


It makes more sense that setting linearVelocity is a method since it is
something you want to set similar to applying an impulse or a force. At
the moment it is also never updated from the actual velocity of the
body so the property is broken in its current state.

This also changes the impeller example to use linearVelocity instead of
adding an impulse since that was buggy when running with low time steps.

Pick-to: 6.5
Change-Id: Ibc8f9ad51ac75fafc4902c3720bdd9783650fce5
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jonas Karlsson <jonas.karlsson@qt.io>
commit35983767069b95172bc753ef90383e48fe3f1b37
parent0acca63c1ec0fd71a443f2810173529099072f08
authorJonas Karlsson <jonas.karlsson@qt.io>
committerJonas Karlsson <jonas.karlsson@qt.io>
commit timeMon, 20 Feb 2023 11:36:32 +0100