pinball spring

Hi,
any ideas to do a pinball like spring? Bounded to a specific area to drag (and only vertically), to shoot a ball up, which is in the same compartiment as the spring.
I’ve tried with the examples given in the drag platforms example (http://developer.anscamobile.com/content/drag-platforms), but it’s not working well, and object:setDrag( ) didn’t work :confused: (the API documentation is very scarce…)
A simple direction where i should go would be nice :slight_smile: [import]uid: 44010 topic_id: 7955 reply_id: 307955[/import]

You could fake it.

Allow the spring to drag with the touch’s y direction then shoot back. Based upon the distance the spring is pulled you could then give a ball a different upwards acceleration.

I would look moving things based on touch and then physics to move the ball. [import]uid: 10903 topic_id: 7955 reply_id: 28354[/import]