add physics to sprite

Hi,
Is there a way to add physics to sprite. Or is there any way around that… i am making a game in which i have to animate a character and on the same time i want to add physics to that character…so is there any way i can do that [import]uid: 48549 topic_id: 10751 reply_id: 310751[/import]

im trying to do the same thing … hope fully someone can just give us a hint at least [import]uid: 47760 topic_id: 10751 reply_id: 39061[/import]

cmon guys 6 days and no solution… [import]uid: 48549 topic_id: 10751 reply_id: 39304[/import]

First of all, I think, you posted in wrong forum! But then again, forums are bit of mess right now…

You just add sprite to physics.addBody function like any other display object. [import]uid: 48521 topic_id: 10751 reply_id: 39310[/import]

i knew it, i tried that a few days ago but it didn’t work maybe the script was mest up cause i was putting stuff together from the code exchange didn’t work out to well im guna start from scratch and see what i get …
by the way can’t some of the mods/admin for the forum clean all this up by moving some post into the right place? [import]uid: 47760 topic_id: 10751 reply_id: 39315[/import]

i did that but dont know why the corona crashes with that… [import]uid: 48549 topic_id: 10751 reply_id: 39476[/import]

Hi, here is the solution, please let me know if you need help:

http://developer.anscamobile.com/forum/2010/08/05/no-physics-sprites [import]uid: 137154 topic_id: 10751 reply_id: 96049[/import]

All you have to do is ‘physics.addBody( yourguy, { whatever } )’. NOTE: I just used those names for examples. That is NOT what you write.
[import]uid: 147322 topic_id: 10751 reply_id: 107056[/import]

It is simple. I don’t know why it crashes though [import]uid: 147322 topic_id: 10751 reply_id: 107055[/import]