• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 4 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0021 秒)

1. 如何实现3d遮罩效果? [ 100%]

...hSprite3D(Mesh.load("../../../../res/threeDimen/staticModel/quad/quad-Plane001.lm"))) as MeshSprite3D; mesh0.transform.localPosition = new Vector3(-0.3, 0.0, 0.0); mesh0.transform.localScale = new Vector3(0.01, 0.01, 0.01); mesh1 = scene.addChild(new MeshSprite3D(Mesh.load("../../../....

来源: Laya_社区 发布时间: 20170209

2. 没有人尝试使用3d物理引擎么 [ 89%]

...建世界平面,添加到加农世界 var groundShape:Object=new CANNON.Plane(); var groundBody:Object=new CANNON.Body({mass: 0, shape: groundShape}); world.add(groundBody); // 运算器步进时长 var timeStep:Object=1.0 / 60.0; box.timer.loop(1000/60,this,cannonUpdate); } private function canno...

来源: Laya_社区 发布时间: 20170331

3. 3D中摄像机绕物体旋转该如何实现? [ 63%]

...ar modelViewer = camera.addComponent(ModelViewer); modelViewer.AroundPos = plane.transform.position; */ export default class ModelViewer extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summ...

来源: Laya_社区 发布时间: 20170714

4. 官方案例里摄像机绕物体旋转脚本的问题 [ 63%]

...ar modelViewer = camera.addComponent(ModelViewer); modelViewer.AroundPos = plane.transform.position; */ export default class ModelViewer extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summ...

来源: Laya_社区 发布时间: 20190224