how can i set light is enabled by Lua code in the simulation
Posted: 02 Dec 2021, 13:06
I have a spot light and want to switch it during the simulation: either turn it on/off or change the color. There is no parameter for it and also setShapeColor does not work (it says the object is not a shape)
how can I do it
how can I do it