IjzerenHein/kiwi.js

Implement updateConstant(constraint:Constraint, constant:number)

cacaodev opened this issue · 0 comments

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