Rename CharacterController::speed to movement


"speed" was doubly wrong: First of all the property is a vector,
not a scalar. Secondly, it defines the attempted velocity, not
the actual velocity.

Also rename the (internal) function getMovement() to getDisplacement(),
since it returns a position difference.

Task-number: QTBUG-109824
Pick-to: 6.5
Change-Id: Ibb7d46e4e934dc3ff6fb73a3dfaac7f7062126f8
Reviewed-by: Jonas Karlsson <jonas.karlsson@qt.io>
commitab5a59112b5bc656306c2c9cf09016b7908f7a86
parent76c736f30f8602c53bbff768a4d75e666c0bdff0
authorPaul Olav Tvete <paul.tvete@qt.io>
committerPaul Olav Tvete <paul.tvete@qt.io>
commit timeMon, 9 Jan 2023 13:17:05 +0100