You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
We have one struct :
b3ExplosionDef ExploreDef = b3DefaultExplosionDef();
But how do set up a lot of places to explode?
m_explosionPosition1 = { 0.0f, -0.1f, 0.0f };
m_explosionPosition2 = { 50.0f, -50.1f, 0.0f };
b3ExplosionDef def = b3DefaultExplosionDef();
def.position = m_explosionPosition1;
def.radius = 2000.0;
def.falloff = 0.1f;
def.impulsePerArea = 1000.0;
b3World_Explode( m_worldId, &def );//first place
def.position = m_explosionPosition2;
b3World_Explode( m_worldId, &def );//second place ? or this will cancel the previous b3World_Explode ?
All reactions