大约有 4 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0019 秒)
...bie/old/Assets/Zombie/Model/z@back_fall-back_fall.lsani" ]; //遍历节点,添加SkinAnimation动画组件 function addSkinComponent(spirit3D) { if (spirit3D instanceof Laya.MeshSprite3D) { var meshSprite3D = spirit3D; var skinAni = meshSprite3D.addComponent(Laya.SkinAnimations); skinAni.templet = L...
来源: Laya_示例 发布时间: 20241117
...shSprite3D = this.layaMonkey.getChildAt(0).getChildByName("LayaMonkey"); //添加盒型碰撞器 var boxCollider = this.layaMonkeyMeshSprite3D.addComponent(Laya.BoxCollider); boxCollider.setFromBoundBox(this.layaMonkeyMeshSprite3D.meshFilter.sharedMesh.boundingBox); this.layaMonkeyMeshSprite3D.camer...
来源: Laya_示例 发布时间: 20241117
...nsform.worldMatrix = meshSprite3D.transform.worldMatrix; //给terrainSprite添加PathFind组件 var pathFingding = this.terrainSprite.addComponent(Laya.PathFind); pathFingding.setting = { allowDiagonal: true, dontCrossCorners: false, heuristic: PathFinding.core.Heuristic.manhattan, weight: 1 }; var ...
来源: Laya_示例 发布时间: 20241117
...白 : 秀恩爱,死得快! (MeshCollider)"; function onComplete(){ //添加精灵到场景 sprite3d1 = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/NvWu/NvWu-shenminvwu.lm"))); sprite3d2 = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/three...
来源: Laya_示例 发布时间: 20241117