You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a cool effect. you might be able to attach something to the dragged
element using `transformDraggedElement` or by finding it in the document
using a querySelector on drag start.
If you're thinking about first class support (assuming there is demand and
that it's not adding too much to the bundle size) - that would require
modifying the library code (look at the function that decorates the dragged
element in styler.js)
Has anyone applied physics to the draggable element - so it swings when dragged?
ie
https://jsfiddle.net/gVCWE/150/
https://mrdoob.com/projects/chromeexperiments/google-gravity/
https://brm.io/matter-js/demo/#ragdoll
I've been looking at Matter-js to enable the physics but coming across a few issues.
Thanks
The text was updated successfully, but these errors were encountered: