Skip to content

Cant set spotlight target correctly. #13639

@isassaba

Description

@isassaba

Hi im trying to set up the car lights, but when i try to set the spotlight to the floor in front of the car it always target the point (0,0,0) nothing seems to modify that.
I've tried:

  • spotlight.target.position.set(x,y,z);
    -spotlight.target.updateMatrix();

I would aprecciate if you have any solution to do this quickly.
Thanks in advice.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions