Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
Quick Axis to Boolean
   
Award
Favorite
Favorited
Unfavorite
Microcontrollers: Calculation, Microcontroller
Tags: v1.8.5
File Size
Posted
Updated
19.014 KB
9 May, 2023 @ 1:35am
26 Jul, 2023 @ 4:31am
2 Change Notes ( view )

Subscribe to download
Quick Axis to Boolean

Description
  • A small controller that immediately detects if a seat axis key has been pressed. Compared to simple threshold detectors, it does not wait for the axis value to exceed the thresholds.
  • Can be useful in cases when the axis sensitivity is low and it is required to trigger some function immediately as the opposite axis key is pressed, for example, when braking the car right after accelerating at full throttle.
  • Also automatically calculates the axis sensitivity as a percentage.
2 Comments
Uran_Wind  [author] 26 Jul, 2023 @ 4:32am 
Updated and fixed, thanks for the feedback.
Aljon 26 Jul, 2023 @ 4:22am 
i dont know why it breaks but I connected axis to a/d. then if I press A as the first input it breaks(reads 0 axis sensitivity). it works fine if D is the first key pressed