I am using pbox2d library in Processing (which is Processing wrapper for jbox2d library).
I have a sketch with a bunch of falling circles (in an arraylist).
I want to make all the circles expand and contract in size in a smooth way. But I am having trouble figuring out how to do it with box2d. It seems I cannot just code radius = radius + 1 and then apply it to all the shapes in the array ???
Please help!!
Thanks.
I have a sketch with a bunch of falling circles (in an arraylist).
I want to make all the circles expand and contract in size in a smooth way. But I am having trouble figuring out how to do it with box2d. It seems I cannot just code radius = radius + 1 and then apply it to all the shapes in the array ???
Please help!!
Thanks.