Hello
Is point of body position should be inside shape of body? Does it affect speed of box2d or it doesn't matter ?
example:
I can create body like this:
body position (vector(10,10))
shape( vector(-30,-10),vector(30,-10),vector(30,10),vector(-30,10))
or
body position (vector(0,0)) // position for all bodies.
shape( vector(-30+10,-10+10),vector(30+10,-10+10),vector(30+10,10+10),vector(-30+10,10+10))
Is point of body position should be inside shape of body? Does it affect speed of box2d or it doesn't matter ?
example:
I can create body like this:
body position (vector(10,10))
shape( vector(-30,-10),vector(30,-10),vector(30,10),vector(-30,10))
or
body position (vector(0,0)) // position for all bodies.
shape( vector(-30+10,-10+10),vector(30+10,-10+10),vector(30+10,10+10),vector(-30+10,10+10))