[Issue]particle system behave weird about offset and size
Posted: Sun Nov 26, 2017 8:28 am
love version:0.10.2
in the gif above, every particle system, except the sizes, is exactly same.
the red rectangle is the area designed for particle spread,
but it seems that the size affects the offset in someway.
is it a bug of particle system?
in the gif above, every particle system, except the sizes, is exactly same.
the red rectangle is the area designed for particle spread,
but it seems that the size affects the offset in someway.
is it a bug of particle system?
Code: Select all
ps0:setSizes(1)
ps0:setParticleLifetime(1)
ps0:setOffset( 0, offsetY )
ps0:setAreaSpread( "uniform", 0, spreadY )
ps0:setEmissionRate(100)
ps0:start()
table.insert(ps,ps0)
table.insert(ps,ps0:clone())
ps[#ps]:setSizes(0.7)
table.insert(ps,ps0:clone())
ps[#ps]:setSizes(0.5)
table.insert(ps,ps0:clone())
ps[#ps]:setSizes(0.3)
table.insert(ps,ps0:clone())
ps[#ps]:setSizes(0.3,1)
table.insert(ps,ps0:clone())
ps[#ps]:setSizes(0.3,1,0.3)
table.insert(ps,ps0:clone())
ps[#ps]:setSizes(1,0.3)