用户:
两个小八路查看:2 回复:8 评论:2 创建时间:2020-07-24T10:59:45
world.onPlayerJoin(({ entity }) => {
entity.player.addWearable({
bodyPart: Box3BodyPart.TORSO,//装备穿戴的位置在身上
mesh: 'mesh/剑.vb',
orientation: new Box3Quaternion(0, 4, 0, 0).rotateX(Math.PI/-180),
scale: new Box3Vector3(0.4,0.4,0.4),
offset: new Box3Vector3(-0.45, 0.1, 0.37),
});
});
//手里拿剑的代码
