Light with a direction


I’v been looking for a way to add light to an object3d with a direction and i find no valid solution.
In my case, i want to add headlights to my car



What’s not valid about the solutions you have found?
If you mean you can’t find on Google anything about lighting I don’t beleive you as there must be thousands.
You need to describe your need a little more carefully as you are asking a very general question to which you want a specific answer.

Read about spot lights. These are ideal for car headlights, since they have a position, direction and cutoff angle.