[Chipmunk on web] shape.setGroup(), shape.setLayers() are not functions

[Chipmunk on web] shape.setGroup(), shape.setLayers() are not functions
0.0 0

#1

I’m making game using Chipmunk physics and Cocos creator. Functions shape.setGroup(), shape.setLayers() are worked on simulator but failed on web as they are not supported. How can I fix this?
Thanks a lot!

edit: I’ve found solution: use shape.layers, shape.group instead.