Hey all!
I am trying to animate the rotation of a spot light and am seeing a strange behavior, in that the spot light is replicated in two!
Light Anim | Editor (playcanvas.com)
Someone know why this happens? I already tried a lot of changes but stays the same.
Hi @Nelson_Alves! I also notice some flickering. I think your code is causing the spotlight to switch between two different rotations. This will probably make it look like you’re seeing it twice. I suggest to debug your rotation in the console of your browser.
Thanks a lot @Albertos I found the issue!
In fact, I set the rotate in a wrong way, because I am more familiar with another way to do this.
1 Like