So I’m trying to make a system where there is a variable called “Direction”, and it will hold a string value that will either be “Right” or “Left”. Depending on which one it is, I want to use a linear velocity attachment to move the player in that direction, but I can’t seem to figure out how to do that.
I’ve put print statements in each while loop to print the LineVelocity. They print each time, but they show that the actual velocity isn’t changing. Does anyone know what I’m doing wrong?