新手求助,用代码创建了刚体以及物理碰撞,但不能修改它的数据

this.node.addComponent(cc.RigidBody);
this.node.addComponent(cc.PhysicsBoxCollider);
var ph = this.node.getComponent(cc.PhysicsBoxCollider);
ph.width = 200;
ph.height = 200;
ph.apply();
cc.log(ph.getAABB());

这样设置后, 节点的包围盒仍然是100,100,请问是不是语法哪里错了

已解决
ph.size.width = 200;
ph.size.height = 200;