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

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

Open
cacaodev opened this issue Jan 25, 2019 · 0 comments
Open

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

cacaodev opened this issue Jan 25, 2019 · 0 comments

Comments

@cacaodev
Copy link
Contributor

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).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants