关于chipmunk的问题

 var walls = 
            new cp.SegmentShape( staticBody, cp.v(0,this.winSize.height), cp.v(this.winSize.width,this.winSize.height), 0 ),//top
            new cp.SegmentShape( staticBody, cp.v(0,83), cp.v(this.winSize.width,83), 0 ),// bottom
            new cp.SegmentShape( staticBody, cp.v(0,0), cp.v(0,this.winSize.height), 0),                // left
            new cp.SegmentShape( staticBody, cp.v(this.winSize.width,0), cp.v(this.winSize.width,this.winSize.height), 0)    // right
        ];


        for( var i=0; i < walls.length; i++ ) {
            var shape = walls*;
            shape.setElasticity(0.5);         //弹性
            shape.setLayers(1);
            shape.setFriction(1);           //摩擦
            shape.setCollisionType(SpriteTag.WALL_BUTTOM);
            space.addShape( shape );
```


遇到了奇怪的问题,我已经设置四周了 怎么还是会出去墙外?*

有的时候 space.gravity = cp.v(0, -980); 把-980调整小一点 就好了 不知道为什么

速度太快了