Closed enriqueto closed 5 years ago
thanks, I tried that.
body.setCircle(15, 0, 25);
It effectively changes the radius of the circle, however the offset is unchanged (check it with debug graphics because the offset member has the correct values but the body remains with offset 0 )
Setting the offset works as expected here: https://codepen.io/samme/pen/EGmXwz?editors=0010
I see, I guess it's my own bug. I'll keep on searching...
Thanks for everything :) and merry Christmas!
using v2.11.1
this works alright: body.isCircle = true;
however this doesn't have any effect:
body.radius = 15; body.offset.set(0, 25);