added accelerate and clearToInitial
This commit is contained in:
parent
f0bafc3d7a
commit
88e3d2c21d
|
|
@ -200,11 +200,10 @@ class ParticleEffect(NodePath):
|
|||
except:
|
||||
self.notify.error('loadConfig: failed to load particle file: '+ repr(filename))
|
||||
|
||||
def accelerate(self,time,stepCount = 1,stepTime=0.0):
|
||||
for particles in self.getParticlesList():
|
||||
particles.accelerate(time,stepCount,stepTime)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
def clearToInitial(self):
|
||||
for particles in self.getParticlesList():
|
||||
particles.clearToInitial()
|
||||
|
|
|
|||
Loading…
Reference in New Issue