It’s plight.setAttenuation, not plight.node.setAttenuation.
I would suggest familiarising yourself with Python programming before you get into Panda3D programming.
It’s plight.setAttenuation, not plight.node.setAttenuation.
I would suggest familiarising yourself with Python programming before you get into Panda3D programming.