猫史档案馆


【每日一个岛3建图小技巧】可穿戴设备教程,给自己在地图里换个装吧!

用户:神岛吉吉喵神岛吉吉喵查看:8414 回复:56 评论:47 创建时间:2021-04-28T19:43:13


center_image

 

皮肤虽然有限

但可穿戴装备是无限的!

学会这项技能

你就是岛上最靓的崽~

https://www.bilibili.com/video/BV1U5411g7Pr/

代码(这里用了 三级盔.vb 和喵 [精美].vb 举例)

world.onPlayerJoin(({entity}) => {
    entity.player.addWearable({
        bodyPart: Box3BodyPart.HEAD,
        mesh: 'mesh/三级盔.vb',
        orientation: new Box3Quaternion(0,1,0,0).rotateY(-Math.PI/2),
        offset: new Box3Vector3(0,0.4,0.1),
    });
    entity.player.addWearable({
        bodyPart: Box3BodyPart.RIGHT_HAND,
        mesh: 'mesh/喵 [精美].vb',
        orientation: new Box3Quaternion(0,1,0,0).rotateY(Math.PI),
        offset: new Box3Vector3(-0.05,-0.1,0.5),
        scale: Box3Vector3 = new Box3Vector3(0.3, 0.3, 0.3),
    });
});

开发API文档:https://docs.box3.codemao.cn/

加入代码岛3.0官方内测Q喵

官网:box3.codemao.cn

下面的二维码会扫出来什么呢?( =•ω•= )m

center_image


回复

上一页第 1 页 / 共 2 页下一页
幻想一笑而过幻想一笑而过

沙发

点赞0


评论

认证~


async_functionasync_function

板凳

点赞0


评论

7分钟?


韵律源点Arcaea韵律源点Arcaea

板凳

点赞0


评论

淦,地板


荷花编程荷花编程

地板

点赞0


评论


荷花编程荷花编程

天花板

点赞0


评论


荷花编程荷花编程

地下室

点赞0


评论

不厚道()


CJP理科生全息碎影孙悟空CJP理科生全息碎影孙悟空

椅子()

点赞0


评论


该账号已被封禁该账号已被封禁

前排

点赞0


评论

没素材复制一下()


编程梦想家编程梦想家

秒会!谢谢吉吉喵!

点赞0


评论


霸道的疾风雀3KNp霸道的疾风雀3KNp

地基(doge)

点赞0


评论


AlcalaAlcala

前排

点赞0


评论


霜雾霜雾

哇哇哇

点赞0


评论


无尽深空无尽深空

复制完毕,效果还不错。

点赞0


评论

怎么复制啊


此号已被封067此号已被封067

前排

点赞0


评论


jlmbcjlmbc

沙发

点赞0


评论


YLG_個YLG_個

azemotion_doge

点赞0


评论


一勺小汤_纪念号一勺小汤_纪念号

前排

点赞0


评论


萌物插画家萌物插画家

emotion_编程猫_搓头

点赞0


评论


西伯利亚狐西伯利亚狐

我用这个搞了个勉强能看的半成品皮肤center_image

点赞3


评论

。。。

牛皮!

......

.....

az.....

哇,教我


治愈绾兮治愈绾兮

评论真少

点赞0


评论


BlackShadowBlackShadow

world.onPlayerJoin(({entity})=>{ entity.player.a喵Wearable({ bodyPart:Box3BodyPart.HEAD, mesh:'mesh/三级盔.vb', orientation:newBox3Quaternion(0,1,0,0).rotateY(-Math.PI/2), offset:newBox3Vector3(0,0.4,0.1), }); entity.player.a喵Wearable({ bodyPart:Box3BodyPart.RIGHT_HAND, mesh:'mesh/喵[精美].vb', orientation:newBox3Quaternion(0,1,0,0).rotateY(Math.PI), offset:newBox3Vector3(-0.05,-0.1,0.5), scale:Box3Vector3=newBox3Vector3(0.3,0.3,0.3), }); });

点赞0


评论


BlackShadowBlackShadow

world.onPlayerJoin(({entity})=>{ entity.player.a喵Wearable({ bodyPart:Box3BodyPart.HEAD, mesh:'mesh/三级盔.vb', orientation:newBox3Quaternion(0,1,0,0).rotateY(-Math.PI/2), offset:newBox3Vector3(0,0.4,0.1), }); entity.player.a喵Wearable({ bodyPart:Box3BodyPart.RIGHT_HAND, mesh:'mesh/喵[精美].vb', orientation:newBox3Quaternion(0,1,0,0).rotateY(Math.PI), offset:newBox3Vector3(-0.05,-0.1,0.5), scale:Box3Vector3=newBox3Vector3(0.3,0.3,0.3), }); });

点赞0


评论


我很厉害的o1我很厉害的o1

sos https://box3.codemao.cn/e/b66d967f0139814954fb?p=GfEEd0uO7Qo0PStYt6dE3Wn0BPyD4rdBUtxpfQ2D5ZA5DOoBCTLwVndWVzdA%3D%3D

点赞0


评论


0ttB0ttB

center_image我这报错了

点赞1


评论

我也报错了

在最前面加一个:console.clear()

不行的,控制台清除了,但装备没有

你是不是不明白console.clear()的意思

那我为什么加了就可以了?

不可以的。。。

装备没有。


霸道的疾风雀3KNp霸道的疾风雀3KNp

为什么会报错!!!

点赞0


评论


次元战神次元战神

顶!!

点赞0


评论


温柔的飓风雀h_nM温柔的飓风雀h_nM

启动考古发掘

点赞0


评论


明明噢明明噢

我在onPlayerJoin和offset这两处老是有红波浪线,什莫意思?

点赞0


评论

求回复,

有一些是正常现象吧(也许),但你代码是哪里有波浪线


小鱼队长小鱼队长

center_image

然后报了一个错

center_image

点赞1


评论

看看第二十行


AB骉AlobokAB骉Alobok

https://web.kandian喵tpl/sharePage?kandianshare.html5.qq.com=1&_bid=4563&pgyid=2008&rowkey=61960d4aad9329bw&enc_u=+8Ok2j+MRIbGv7uNNE2npA==

点赞0


评论