Quiz feedback.
[spoiler]
FMath::Clamp(RelativeSpeed, -1.0, +1.0);
This will fail because the system doesn’t know whether to interpret +/-1 as float or double.
Is kind of misleading as it will be interperated as a double and then you’ll get a mismatch of types (float, double, double). Then a note saying to make that version compile you would need to do FMath::Clamp(RelativeSpeed, -1.0f, 1.0f);
How many times is it OK to write very similar code before thinking if there’s a better way to generalise?
Should probably be re-worded to say what’s the maximum as 1 is technically correct with that wording.[/spoiler]