I have a point_velocitysensor connected to a physics-driven elevator, and the output sent to the pitch of a sound. This makes the sound pitch up when the elevator is moving faster.
This works fine when the elevator is moving down, but when it’s moving up, the sound does not play, because the output value becomes negative.
How do I make a negative value give the same result as a positive one?