Can't seem to change direction
I am working on a game with planetary gravity. The player runs around a cylinder which exerts a gravitational pull on him. So far everything is working fine and he can walk upside down. Right moves the player clockwise, left anticlockwise. The problem is, when he is on the lower half (z-wise) of the cylinder, his movement animation is backwards. I tried rectifying this by making a bool to replace 'bismovingright' and making it conditional on what side of the cylinder he is on. Here is my blueprint.
'IsUpsideDown' is 1 if the character is NOT upside down (confusing I know) and -1 if he is. I have checked everything is firing correctly and my 'IsUpsideDown' variable changes correctly, which it does. I can't for the life of me figure out how this BP does not work.
asked Apr 17 '18 at 09:30 PM in Using UE4
Follow this question
Once you sign in you will be able to subscribe for any updates here