mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 20:56:39 +00:00 
			
		
		
		
	Keep particles in local space
This commit is contained in:
		
							parent
							
								
									dd981077b9
								
							
						
					
					
						commit
						80a4345787
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -436,6 +436,9 @@ class NIFObjectLoader | |||
|                                           particledata->particleRadius*2.0f); | ||||
|             partsys->setCullIndividually(false); | ||||
|             partsys->setParticleQuota(particledata->numParticles); | ||||
|             // TODO: There is probably a field or flag to specify this, as some
 | ||||
|             // particle effects have it and some don't.
 | ||||
|             partsys->setKeepParticlesInLocalSpace(true); | ||||
| 
 | ||||
|             Nif::ControllerPtr ctrl = partnode->controller; | ||||
|             while(!ctrl.empty()) | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue