Skip to content

Commit f09259d

Browse files
committed
Fix documentation
1 parent 525490c commit f09259d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/OctopusKit/Components/Input/Keyboard/KeyboardControlledThrustComponent.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public final class KeyboardControlledThrustComponent: OctopusComponent, OctopusU
5959

6060
/// - Parameters:
6161
/// - magnitudePerUpdate: The minimum magnitude to apply to the physics body every second. Affected by `timestep`.
62-
/// - acceleration: The amount to increase the magnitude by per second, while there is keyboard input. The magnitude is reset to the `baseMagnitudePerSecond` when there is no keyboard input. Affected by `timestep`.
62+
/// - acceleration: The amount to increase the magnitude by per second, while there is keyboard input. The magnitude is reset to the `magnitudePerUpdate` when there is no keyboard input. Affected by `timestep`.
6363
/// - maximum: The maximum magnitude to allow after acceleration has been applied.
6464
/// - scalingFactor: Multiplies the force by the specified factor. Default: `1`. To reverse the thrust, specify a negative value like `-1`. To disable thrust, specify `0`.
6565
/// - timestep: Specifies a fixed or variable timestep for per-update changes. Default: `.perSecond`

0 commit comments

Comments
 (0)