creator 的mass为何一直是0

let body = this.node.getComponent(cc.RigidBody);
var mass = body.getMass();
cc.log(“mass”,mass)

需要先addChild