in physics body impulse
i use physics.addMap(shapeBody, shape) ,then shapeBody.impulse
but can't
Are you sure you need addMap()? Since ZIM TEN, we use addPhysics() to a ZIM Object - then impulse() is a method of the ZIM Object. If you really want to do it the old way, then use Box2D methods ApplyForce() ApplyImpulse() ApplyTorque() on the body. But it probably would be best not to.
when i test physics makeRectangle,makeCircle,makeTriangle,find the zimObj can't be impulse,the zimObj isn't that zimObj make with new Circle().addPhysics().
Right... no longer are we using makeRectangle(), etc. you just need to use:
const circle = new Circle().center().addPhysics().impulse(100);
Okay - just select wrong for the chatbot.