creator 的mass为何一直是0

有玄音
Sat, 14 Apr 2018 14:21:29 +0000

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

阅读整个主题