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
spread = (std::max(static_cast<float>(c_PI) - emission->GetSpread(), 0.0F) / c_PI) * scale; // A large spread will cause the forces to cancel eachother out
288
+
if (emissions > 0) {
289
+
int extraEmissions = emission->GetParticleCount() - 1;
float spread = (std::max(static_cast<float>(c_PI) - (emission->GetSpread() * scale), 0.0F) / c_PI); // A large spread will cause the forces to cancel eachother out
290
296
291
297
// Add to accumulative recoil impulse generated, F = m * a.
spread = (std::max(static_cast<float>(c_PI) - emission->GetSpread(), 0.0F) / c_PI) * scale; // A large spread will cause the forces to cancel eachother out
244
+
if (emissions > 0) {
245
+
int extraEmissions = emission->GetParticleCount() - 1;
float spread = (std::max(static_cast<float>(c_PI) - (emission->GetSpread() * scale), 0.0F) / c_PI); // A large spread will cause the forces to cancel eachother out
246
252
247
253
// Add to accumulative recoil impulse generated, F = m * a.
0 commit comments