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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user