Hi, I am creating a game where we have tower elements resting on top of a floating static platform body, however, that body is supposed to be destructible so that the objects that are resting on them can fall once the projectile hits and 'breaks' that platform. This suggests that I need a static-ish body that still has a notion of mass, as my actor health calculation is a scalar multiple of the actor body's mass, and we decrement that health each time we hit a collision above a threshold. Since the mass of static actors are 0, I'm not sure how to proceed with this problem.
I think one possible solution is to get the effective mass of a static body, i.e. what would the mass be of this object if it weren't static? Another I think would be to have a dynamic body, but somehow not let its position ever change. I'm not entirely sure what the best solution would be. Have any of you made something similar? I know angry birds does something like this, but I'm not sure how they implemented it.
I think one possible solution is to get the effective mass of a static body, i.e. what would the mass be of this object if it weren't static? Another I think would be to have a dynamic body, but somehow not let its position ever change. I'm not entirely sure what the best solution would be. Have any of you made something similar? I know angry birds does something like this, but I'm not sure how they implemented it.