Fire an object on set path, with gravity

Hi all,

I’d like to have an object fired automatically up at a set angle, at a set velocity that then moves across the screen, slows and falls with natural physics.

Basically, I’m using the ghosts vs monsters code to learn and want to have the ghost fired across the screen automatically, all tips and advice greatly appreciated! [import]uid: 113162 topic_id: 22144 reply_id: 322144[/import]

What part are you tripping up on? The Ghosts VS Monsters code is very good for this :slight_smile: [import]uid: 52491 topic_id: 22144 reply_id: 88303[/import]

A different approach to object throwing is here, though the basis of body:applyForce is the same:

https://developer.anscamobile.com/code/trajectory-plotting [import]uid: 8271 topic_id: 22144 reply_id: 88435[/import]