大约有 212 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0045 秒)
...Z); phy.colliderShape.localOffset.cloneTo(colliderShape.localOffset); Laya.Vector3.scale(colliderShape.localOffset, 0.5, colliderShape.localOffset);//这里还需要手动缩放这个偏移值才正常 2022-11-21 0 0 分享 微博 QZONE 微信 Laya_Fred 赞同来自: 您好,感谢您的反馈,...
来源: Laya_社区 发布时间: 20221121
...现,支持Sprite3d的transform里的属性,具体请参照例子 支持Vector3和Vector4的缓动,具体实现请看例子 github链接: https://github.com/AILHC/LayaD3Tween 欢迎使用和提建议,给个star 么么哒~ 2019-02-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20190228
...ld(box); box.transform.translate(_position); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); box.meshRender.material = material; 我看了API MeshSprite3D和BoxMesh都没有...
来源: Laya_社区 发布时间: 20181126
... var twoMc:MeshSprite3D = Sprite3D.instantiate(meshSprite,new Vector3(0.1, 0, 0.2),null,null,false) as MeshSprite3D; twoMc.transform.position = new Vector3(0.1, 0, 0.2); var transformUVTwo:TransformUV = ...
来源: Laya_社区 发布时间: 20170311
...(0,0,0)定位。 旋转代码: var _rotateLeft = new Laya.Vector3(0, 1, 0); floor.transform.rotate(_rotateLeft, true, false); 或者 floor.transform.rotate(_rotateLeft, false, false); 2018-08-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请:...
来源: Laya_社区 发布时间: 20180822
...dChild(camera); //移动摄像机位置 camera.transform.position=new Laya.Vector3(-8, 4, 15); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3( -8, -25, 0), true, false); })) } return Main; } ()); Main(); laya2.0的3d尝试,新人,看不懂这是为啥,错误如下: laya....
来源: Laya_社区 发布时间: 20180919
...== 0) { var physicPosition = PhysicsComponent._tempVector30; shapeOffset.x *= transform.getWorldLossyScale().x; shapeOffset.y *= transform.getWorldLossyScale().y; shapeOffset.z *= transform.getWorldLossyS...
来源: Laya_社区 发布时间: 20191019
...a (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes, Boolea...
来源: Laya_社区 发布时间: 20171108
...//调整方向 this.layaMonkey.transform.lookAt(this._tarPosition, this._upVector3, false); //因为资源规格,这里需要旋转180度 this.layaMonkey.transform.rotate(this._rotation2, false, false); //调整位置 Tween.to(this._finalPosition, { x: this._position.x, y: this._position.y, z: thi...
来源: Laya3.0_文档 发布时间: 20230303
...a (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes, Boolea...
来源: Laya_社区 发布时间: 20180319