Matter.js Mouse Drag
ODLNT , maybe you can help? The Matter.js documentation has limited explanation on how to do stuff. Does anyone know how to "drag" a Matter.js shape across the screen. (Not with p5). All I got is that you use Matter.MouseConstraint.create(), and that's it. <script src="https://cdnjs.cloudflare.com/ajax/libs/matter-js/0.12.0/matter.min.js"></script> brm.io/matter-js/docs/
5/31/2019 4:22:12 PM
Clueless Coder
1 Answer
New AnswerEdit: Found better example of mouse control at the liabru matter.js git hub repository https://raw.githubusercontent.com/liabru/matter-js/master/examples/catapult.js https://code.sololearn.com/WVHkiT7oJKB2/#js