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

大约有 963 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0046 秒)

111. Vector3.equals是不是有问题,还是我理解错误 [ 92%]

Vector3.equals是不是有问题,还是我理解错误 Vector3.equals(new Vector3(0 ,1 ,0),new Vector3(0 ,-1 ,0)) 结果竟然等于 true 。。。 2017-08-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Moni...

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

112. rigidBody.applyForce 物体不会移动 [ 92%]

...rite3D; private monster_character: Laya.Sprite3D; private translateW: Laya.Vector3 = new Laya.Vector3(0, 0, 0.2); private translateS: Laya.Vector3 = new Laya.Vector3(0, 0, -0.2); private translateA: Laya.Vector3 = new Laya.Vector3(0.2, 0, 0); private translateD: Laya.Vector3 = new Laya.Vector3(-0.2,...

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

113. laya.d3.graphics.VertexPositionNormalColorTexture0Texture1Skin [ 91%]

...ctor4[read-only] VertexPositionNormalColorTexture0Texture1Skin  normal : Vector3[read-only] VertexPositionNormalColorTexture0Texture1Skin  position : Vector3[read-only] VertexPositionNormalColorTexture0Texture1Skin  textureCoordinate0 : Vector2[read-only] VertexPositionNormalColorTexture0Textu...

来源: laya_api 发布时间: 20170929

114. 关于Laya.Quaternion.createFromAxisAngle旋转角度不正确的问题 [ 91%]

...结果有偏差   举例说明: 两个向量的夹角为N度,通过Laya.Vector3.cross(dir1,dir2,normal)获取两个向量的法线, 围绕法线将一个向量旋转N度时,不能与另一个向量重合   private testdir(){         //定义两个向量,算出向量夹角         v...

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

115. Laya.Vector3小数的问题,很奇怪啊 [ 91%]

Laya.Vector3小数的问题,很奇怪啊 var v: Laya.Vector3 = new Laya.Vector3(1.1069, 0, 0);  console.log(v.x);   输出:1.1068999767303467 而不是1.1069   我想保留2位或3位小数,不管你怎么设置,然而始终无效。1.1068999767303467   怎么解? 2019-03-06 添加评...

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

116. laya.d3.graphics.VertexPositionNormalTexture0Texture1Skin [ 91%]

... : Vector4[read-only] VertexPositionNormalTexture0Texture1Skin  normal : Vector3[read-only] VertexPositionNormalTexture0Texture1Skin  position : Vector3[read-only] VertexPositionNormalTexture0Texture1Skin  textureCoordinate0 : Vector2[read-only] VertexPositionNormalTexture0Texture1Skin  text...

来源: laya_api 发布时间: 20170929

117. 照相机-3D空间转2D空间 [ 91%]

...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.35, 1)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); Laya.loader.create("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey...

来源: Laya_示例 发布时间: 20240929

118. laya.d3.math.Ray_API3.0 [ 91%]

...rties direction origin Methods at Constructors constructor new Ray(origin: Vector3, direction: Vector3): Ray Defined in laya/d3/math/Ray.ts:10 创建一个 Ray 实例。 Parameters origin: Vector3 射线的起点 direction: Vector3 射线的方向 Returns Ray Properties direction direction: Vector3 ...

来源: Laya3.0_api 发布时间: 20231115

119. 高级应用-寻路导航 [ 91%]

...项目开发更高效。Laya3D.init(0, 0, true); this._position = new Laya.Vector3(0, 0, 0); this._upVector3 = new Laya.Vector3(0, 1, 0); this._tarPosition = new Laya.Vector3(0, 0, 0); this._finalPosition = new Laya.Vector3(0, 0, 0); this._quaternion = new Laya.Quaternion(); this.index = 0; this.cur...

来源: Laya_示例 发布时间: 20240929

120. Laya.Vector3.equals方法比较两个方向相反的向量,结果也是相等? [ 91%]

Laya.Vector3.equals方法比较两个方向相反的向量,结果也是相等? 两个方向相反、长度相等的向量,用Laya.Vector.equals方法比较,结果为相等,比如: var a = new Laya.Vector3(1,0,0); var b = new Laya.Vector3(-1,0,0); console.log(Laya.Vector3.equals(a, b)); ...

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