Set the particle scaleReferenceFrame to local space

openmw-38
scrawl 9 years ago
parent ccc721ba3f
commit 9b96fcc224

@ -866,6 +866,8 @@ namespace NifOsg
partsys->getOrCreateUserDataContainer()->addDescription("worldspace");
}
partsys->setParticleScaleReferenceFrame(osgParticle::ParticleSystem::LOCAL_COORDINATES);
handleParticleInitialState(nifNode, partsys, partctrl);
partsys->setQuota(partctrl->numParticles);

Loading…
Cancel
Save