Trying to set rotationLock causes a Type Error: Cannot set properties of undefined (setting 'mass')
davidbouchard opened this issue · 2 comments
davidbouchard commented
As of today, all my sketches that dynamically link to p5play and planck.js started showing this error whenever I try to set rotationLock = true on a Sprite:
Uncaught TypeError: Cannot set properties of undefined (setting 'mass')
This affects the example page on the documentation as well:
davidbouchard commented
This affects other functions as well that try to set the Sprite's mass property, for example, making a Glue Joint. Perhaps this is related to changes introduced in 3.20.1
quinton-ashley commented
yes it was, should be fixed in v3.20.2 now. Thank you for reporting the errors!