Make a ball shoot out of a cannon with some curve and height

Hello I am trying to simulate a ball shooting out of a cannon into the air then landing on a spot.x

I don’t just want a direct shot through I would like it to have some curve and height.  Can someone give me some recommendations on a way to do this.  Whether through a transition.to statement or possible with physics and applyLinearImpulse argument.  Thank you.

This is probably a pretty simple physics issue.  If you give your cannon ball enough density, and find the right amount of linear impulse it should give you a nice arc based on real world physics.  I would use physics and .applyLinearImpulse.  You will need to figure out the values needed.    Then apply the impulse so that the angle is the same as the cannon is pointing and the physics engine should do the rest.

Rob

This is probably a pretty simple physics issue.  If you give your cannon ball enough density, and find the right amount of linear impulse it should give you a nice arc based on real world physics.  I would use physics and .applyLinearImpulse.  You will need to figure out the values needed.    Then apply the impulse so that the angle is the same as the cannon is pointing and the physics engine should do the rest.

Rob