Skip to content

bug: needs a way to supply followLight DirectionalLight object #119

@elisherer

Description

@elisherer

this code

      dirLight = characterModelRef.current.parent.parent.children.find(

assumes the directionalLight is at a specific level, Ecctrl might be lower in the components tree.
Can we supply a ref somehow, through context maybe?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions