Hi, I want to add lines with no gravity (I just want to make map using lines).
They must be fixed when other sprites hit them.
However, I have a problem with adding lines.
I tried,
CCNode *node1 = ccDrawLine( CGPointZero, ccp(300,300) );
[self addChild: node1];
but above routine doesn't work.
"error: void value not ignored as it ought to be"
Is there any function drawing lines?
And Is there a way to ignore gravity? (on specific body that I want it to be fixed)