What is wrong with my angry bird/ sling shot clone?


#1

I created this angry bird /sling shot clone using Physics 2.0



All objects are Physics2.0
The motion trajectory is plotted while aiming (drag and pull the mouse on the ball). But the motion is different mostly than the path.

https://cdn.discordapp.com/attachments/258659467887902730/666667439538438174/angrybird.json

Can someone please check whats wrong here?


#2

I haven’t had time to dig in and fix it properly, but it seems you have 0 degrees as pointing up from the object, while GDevelop uses 0 degrees as pointing to the right right (and 270 pointing up). See here for explanation of it.

Also, it is cool that you can include everything in a single .json when your graphics are sourced from the web :smiley: