Skip to content
This repository was archived by the owner on Dec 2, 2021. It is now read-only.
This repository was archived by the owner on Dec 2, 2021. It is now read-only.

Implement updateConstant(constraint:Constraint, constant:number) #15

@cacaodev

Description

@cacaodev

Currently, the only way to change the constant of an active constraint is to remove it and add a modified one. There should be a more efficient way to do this.
This function should throw immediately an error if the constraint is required.

Here is an example of a working implementation of this feature (Swift port of Rhea).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions