Once again I need your help with Panda. Say I have a NodePath variable wich I retrieved by adding a point light to the scene:
PT(PointLight) pl; NodePath the_node; /* ... */ the_node = window->get_render().attach_new_node(pl);
At some other point I need to change some of the light’s settings, say the attenuation values, but I only have the_node and not pl.
What is the best way to solve this problem?
I’m looking forward to your answers