+ 2
Pendulum broken
How can I fix the pendulum? It keeps going in the wrong direction. https://code.sololearn.com/WCnwEzPfwrSl/?ref=app
3 Answers
+ 5
this.x = this.r * cos(this.a-90);
this.y = this.r * sin(this.a-90);
Line19,20
+ 4
Nice code btw
0
Thanks!