SushiMasters / Final-Project

Repository for UCMHS Intro to Programming Final Project
0 stars 2 forks source link

sushi won’t shoot from tip of cannon? #6

Open shivani517 opened 8 years ago

shivani517 commented 8 years ago

the constant multiplied by cos(theta) or sin(theta) when the sushi is added

shivani517 commented 8 years ago

figured out that to get it as accurate as possible, it has to be r_cos(theta) and r_sin(theta). r was measured by drawing a box in photoshop to measure distance between origin of the image and the tip of the cannon