Lights for car headlight

This is a problem in your code since you can change the target for SpotLight. Check out SpotLight.target. In any event, using an instance of SpotLight seems the right approach. Ideal for stuff like headlights or flashlights.

BTW: A PointLight is omnidirectional and has no target.

2 Likes