|Attention||Topic was automatically imported from the old Question2Answer platform.|
|Asked By||ZUHAYR RUSHD|
I am really newbie in godot, I copy pasted some code from online. The problem is I need to rotate the ball 180 degrees and go the way the ball is facing when the ball hits the bar, I think the ball is rotating but it is not going the way it is facing. I used the Vector2.()rotated function. I think I did something wrong in the Vector2.rotated function. If anyone know what I did wrong pls answer me.