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>
| commit | ab5a59112b5bc656306c2c9cf09016b7908f7a86 |
| parent | 76c736f30f8602c53bbff768a4d75e666c0bdff0 |
| author | Paul Olav Tvete <paul.tvete@qt.io> |
| committer | Paul Olav Tvete <paul.tvete@qt.io> |
| commit time | Mon, 9 Jan 2023 13:17:05 +0100 |