Hi
I have this project in which I need to calculate the angle between 2 lines. I will need to use Sin after I get the angle. The problem is, how am I going to get the angle? Is there any way or code to get it? Thanks!
Hi guys, I have this project in which I want to make this air hockey game. I need help. For air hockey, I need a puck (paddle) and a bouncing ball.
I have created a bouncing ball a long time before but it only moves with 45 degrees but I am not in need of the ball now, I need the puck.
I want the puck to be when the ball hits my puck, the ball can bounce back the way it should be. I want to use if-then statements. Is there any codes that can help me set a boundary around the puck's circumference (the puck is a circle) or do I have to set the boundaries of the ball myself, line by line. Thanks!