Trigger direction reversal debuffs in a racing game

I want to set A reserve steering debuffs to trigger the effect of changing the direction of the car when the car overlap with it, that is, contrary to the default driving direction, the car turns to the right when the A key is pressed, and the car turns to the right when the D key is pressed. The following is my blueprint, but no effect is triggered. How to solve this problem?

you didn’t actually supply the blueprint image (you might not have permission yet)

if this is to be a trigger zone/box then you could expose some kind of boolean/enum to be publicly accessible (the eye icon on the right side after the variable type)

then in the OverlapBegin() of the Trigger box/Zone you would cast the OtherActor to the Car where that member variable is exposed to to then set it. just remember to change it back in the OverlapEnd()

for the actual reversing of the direction you would trow a check for this bool/enum before applying (in this case the left/right) rotation.


Project Settings-Engine-input Axis mappings- Move right- keyboard W- Scale:1

Here are my Settings and blueprints. Currently, the blueprints are only edited for turning right, but no effect is produced when the game runs. Could you help to see what is the problem?

on overlap id just add a debuff to car, it could just be a bool for testing

then in the car you can have a select node off the bool, if its true multiply the axis value by -1 to reverse it, if false by 1

it looks like using input from the debuff box? dont do that, try to keep all the car controls on the car