I’m new in Panda3D, I made some Particle effect with “Tut_Particle_Panel.py” I saved the effect as “firstRain.ptf”
now I don’t know how to load that in my scene
I add this lines to my code:
“”"
base.enableParticles()
from direct.particles.ParticleEffect import ParticleEffect
p = ParticleEffect()
p.loadConfig(firstRain)
p.start(parent = render, renderParent = render)
“”"
as I read it from toturials
when I ran it I got some errors “firstRain is not defined”
I addressed it too:
p.loadConfig(“models/man/firstRain.ptf”)
but I got some error
please help me.