Skip to content

Commit 4b22e08

Browse files
Update Packages/com.unity.inputsystem/Documentation~/UsingProcessors.md
Co-authored-by: lilisha-unity <94024889+lilisha-unity@users.noreply.github.com>
1 parent 31b1c1e commit 4b22e08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Packages/com.unity.inputsystem/Documentation~/UsingProcessors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Note: This scenario uses the [Starter Assets](https://assetstore.unity.com/packa
142142

143143
The [Clamp Processor](ProcessorTypes.md#clamp) clamps the input value to a specified range. The minimum value of the Processor defines the lowest input value that will be accepted, while the value cannot exceed the given maximum value. In combination with the Scale Processor, it is easy to standardize the input value ranges of different devices and place them within a well-defined value spectrum.
144144

145-
#### Racing car
145+
#### Example: Racing game speend control
146146

147147
In a case where the player is not supposed to fall below a certain base speed, but also cannot exceed a certain maximum speed, the Clamp Processor is the one you may want to use.
148148
In the following image, you can see how a Clamp Processor can be used to restrict input values within a defined minimum and maximum range.

0 commit comments

Comments
 (0)