Some problems in the code

Ok, I’ve solved all problems :smiley: thanks for all! I hope that I’ll not have other problems :slight_smile:

Hi guys, I’ve other problems, but now with the physic objects… I need to make a customize shape for my character, so I’ve done it. But I have a problem with the physic because when I touch the screen, the body don’t go on vertically but it starts to rotate on itself…

At first time, Corona had created a automatically body (big rectangle). But I’ve a problem with the collisions with other objects because they touch invisible parts of the figure (in game), and so I lose though it’s not true. So I’ve created two different rectangles and I’ve add them to my graphics object. But when I touch the screen, the object go on incorrectly and starts to rotate on itself. 

This is the original shape:

https://www.dropbox.com/s/185o7okoivfm7hf/imgpersonal.png

And this is my custom shape: 

https://www.dropbox.com/s/xub29ol8c0auyas/imgoriginal.png

Can anyone help me please?

Ok, solved  :stuck_out_tongue: