Drawing line after ball

Hi all,

A friend of mine and I are trying Corona out for a game. We need to draw a line where the ball went.

I save x/y from the ball on every frame. Then I remove the old line and draw the new line with the saved points. I tried to create a line once and append on every frame, but then the line disappears and only appears a few microseconds before it disappears again.

The remove a line/create a line on every frame method works. But when I change the strokeWidth to something higher than 1; artefacts appear.

See image: http://cl.ly/0X0c2u1V293n311G0G0O
Black line is correct, red line has a small artefact in this screenshot. But sometimes even weirder artefacts appear.

Does anyone know a better method of doing this?

Thanks!

David & Hans [import]uid: 37000 topic_id: 8271 reply_id: 308271[/import]