Closed Denz1994 closed 7 years ago
I committed a workaround for MassNode. You can uncomment any of the if ( Math.abs( springForce ) < 1E-6 ) {
lines to get the bug back.
The mutation of Shape points triggered the assertion (since the assertion was written before the mutability was supported). There's no good way for the assertion to help (or for Kite to internally track those point changes), so I've removed the assertion.
While working with @samreid in Masses and Springs we discovered that the startPoint and subpath.getFirstPoint() are not equal and thus firing an error.
Steps to reproduce:
Checking the startPoint and subpath.getFirstpoint() shows that they aren't equal in this piece of code.
Shape.js
Any insight would help. Thanks @jonathanolson.