Node.setRelativeTo

Calculates the relative position between 2 nodes and applies the offset. You should call this before reparenting nodes.

  1. void setRelativeTo(Node to)
    class Node
    void
    setRelativeTo
  2. void setRelativeTo(mat4 to)

Meta