2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 22:27:43 +00:00

Fix CNewIntroBoss and particle bugs

This commit is contained in:
Jack Andersen
2019-01-04 17:28:02 -10:00
parent 5b55320e9b
commit d60fcc99c9
17 changed files with 151 additions and 92 deletions

View File

@@ -370,7 +370,7 @@ bool CElementGen::UpdateVelocitySource(u32 idx, u32 particleFrame, CParticle& pa
zeus::CVector3f localPos = x208_orientationInverse * (particle.x4_pos - xdc_translation);
err = x280_VELSources[idx]->GetValue(particleFrame, localVel, localPos);
particle.x1c_vel = x1d8_orientation.rotate(localVel);
particle.x4_pos = x1d8_orientation.rotate(localVel) + xdc_translation;
particle.x4_pos = x1d8_orientation.rotate(localPos) + xdc_translation;
} else {
err = x280_VELSources[idx]->GetValue(particleFrame, particle.x1c_vel, particle.x4_pos);
}