We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I have a sketch with a bunch of falling boxes (in an arraylist). My sketch is structurally similar to the Boxes example sketch by Shiffman
I want to make all the boxes expand and contract in size in a smooth way. But I am having trouble figuring out how to do it with pbox2d. It seems I cannot just code width = width + 1 and then apply it to all the shapes/bodies in the array ???
Please help!!!
Thanks.
Answers
If you have arrayList of boxes then just update the width and height inside the class.
Or just post your code o that I can have a look then I can tell you properly