Making An object stop. HELP!!

Hello,

I am making an app and when the baloon comes inside of an objects it stops. Any ideas on how to do that? [import]uid: 44060 topic_id: 8509 reply_id: 308509[/import]

Out of curiosity how old are you? [import]uid: 13978 topic_id: 8509 reply_id: 30541[/import]

15 and help me now. [import]uid: 44060 topic_id: 8509 reply_id: 30543[/import]

Go do your homework first :slight_smile: [import]uid: 13978 topic_id: 8509 reply_id: 30547[/import]

You could put an invisible object inside of the space you want the balloon to stop at, then when it collides with that object set its velocity to 0. [import]uid: 10903 topic_id: 8509 reply_id: 30863[/import]

You could add additional physics body and set it as “sensor”. When the ballon comes in contact with this sensor body, it will trigger collision. I hope that helps.

Cheers! [import]uid: 13978 topic_id: 8509 reply_id: 30882[/import]

You’re probably using physics in which case do what they said, but if not use this:
http://developer.anscamobile.com/code/flashs-hittestobject-emulated-using-contentbounds [import]uid: 12108 topic_id: 8509 reply_id: 30951[/import]

If you haven’t already checked out this programmers tutorials - you should.

Go to http://www.youtube.com/user/cheetomoskeeto - Dr. Hernandez has great info. His latest Tutorial may help - Custom Physics Bodies

Have fun. [import]uid: 8042 topic_id: 8509 reply_id: 31093[/import]