Hello! I am trying to make a mini game where lightning disappears and appears randomly and you have to click on the lightning to get points. With the code I am using, it sometimes works, but sometimes the lightning is not clickable. Also, the points sometimes reset randomly. I am not sure what I am doing wrong. Can anyone help?
Hi @kelfjel, lightning was spawning below the “floor” (0 < on the z axis), even though you cant see it there technically still is a floor in your scene; So the issuea can be helped by having the lightning only spawn above 0;
Aha, of course! Thank you.