猫史档案馆


这是飞剑代码

用户:UP主終黙UP主終黙查看:1 回复:1 评论:1 创建时间:2022-09-02T20:27:39


entity.player.addWearable({         bodyPart: Box3BodyPart.HEAD,  // 南瓜头要加到“头”这个部位上         mesh: 'mesh/钻石剑.vb', // 南瓜头的模型位置(需要提前把模型放到地图场景里!)         orientation: new Box3Quaternion(0, 1, 0, 0).rotateY(-Math.PI / 2), // 转到正确的方向         scale: new Box3Vector3(0.5 ,1, 5),          offset: new Box3Vector3(0,10, 30),     });


回复

上一页1 页 / 共 1下一页
宇heng宇heng

entity.player.addWearable({         bodyPart: Box3BodyPart.HEAD,  // 南瓜头要加到“头”这个部位上         mesh: 'mesh/钻石剑.vb', // 南瓜头的模型位置(需要提前把模型放到地图场景里!)         orientation: new Box3Quaternion(0, 1, 0, 0).rotateY(-Math.PI / 2), // 转到正确的方向         scale: new Box3Vector3(0.5 ,1, 5),          offset: new Box3Vector3(0,10, 30),     });

点赞0


评论