Poodletooth-iLand/toontown/safezone/SnowUtil.py
2015-07-05 19:59:25 -04:00

10 lines
297 B
Python

from toontown.battle import BattleParticles
def createSnow(geom):
snow = BattleParticles.loadParticleFile('snowdisk.ptf')
snow.setPos(0, 0, 5)
snowRender = geom.attachNewNode('snowRender')
snowRender.setDepthWrite(0)
snowRender.setBin('fixed', 1)
return snow, snowRender