Skip to content

SplineNode should have the property LocalDirection #55

@MichaelMacha

Description

@MichaelMacha

When I hear "direction" when used to describe a vector, I anticipate an absolute vector pointing in the direction provided by its elements. So with SplineNode.Direction, I failed to realize that it requires a world coordinate.

Rather than changing this entirely and breaking previous code, adding an additional property for the same field, LocalDirection, which subtracts the position of the SplineNode and gives the direction in local space, could be handy. We would still only have one direction field, but two ways of accessing and changing it based on the context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions