Hi, I have 2 questions about edgeshapes.
1. Can they be dynamic? I have tried, but they don't rotate and fall through other objects.
If they can't, should I use make a custom build of Jbox2d that allows more than 8 vertices in a polygon?
2. Can they be dynamically edited?
I am trying to make destructible terrain. I have my edgeshape, and would like to move vertices in the shape at any time. When I do this, if I move them too far away from their original position, the shape no longer works. Or could I replace single fixtures?
Or is there another way, that doesn't involve deleting the shape and creating a new one?
Thanks,
r_bewick
1. Can they be dynamic? I have tried, but they don't rotate and fall through other objects.
If they can't, should I use make a custom build of Jbox2d that allows more than 8 vertices in a polygon?
2. Can they be dynamically edited?
I am trying to make destructible terrain. I have my edgeshape, and would like to move vertices in the shape at any time. When I do this, if I move them too far away from their original position, the shape no longer works. Or could I replace single fixtures?
Or is there another way, that doesn't involve deleting the shape and creating a new one?
Thanks,
r_bewick