Making a collider trigger local, rather than global

At the moment I have a graph set up to turn on and off a directional light to “spruce up” the inside of an otherwise dark building. All of that is working wonderfully, save for the fact that the trigger appears to work on any object moving through the colliders.

What the behavior should be, is when a local player moves through the collider, the code only turns on the light for that specific player. What should I add to my graph to check to see if it is a “Local Player” moving through the trigger, rather than any object?

IIRC you can leave the graph, just change the gameobject with the collider to the PlayerLocal layer

E: see this topic

1 Like