Say I want to retain Gamepad Left Thumbstick Y-Axis as move forwards / backwards
while using Gamepad Right Trigger as move forwards
and Gamepad Left Trigger as move backwards
How do I prevent the maximum doubling of force applied to the ?
I tried creating a member variable, a float throwClamp in TankMovementComponent
that adds up all the throw values passed into it to clamp it at maximum -1 or +1.
But I quickly realised each Input Event (could be all 3 simultaneously !) are calling IntendMoveForward independently and I’ve no way of knowing when to reset (and apply the throw) throwClamp back to 0 right at the end of each frame.
Perhaps it’s some really simple wiring in Blueprints or a neat solution in C++.
If anyone has managed this and want to share how you got it working I would be grateful.