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

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

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

LayaAir引擎 关于Laya.Quaternion.createFromAxisAngle旋转角度不正确的问题 Laya.Quaternion.createFromAxisAngle 在做向量旋转的时候,当使用的旋转坐标轴是标准坐标轴时,旋转的结果是正确的,如围绕Y轴旋转,(0,1,0),旋转30度,得到的结果是正确的 但...

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

2. laya.d3.math.Matrix4x4 [ 94%]

...:void 克隆。 Matrix4x4  createAffineTransformation(trans:Vector3, rot:Quaternion, scale:Vector3, out:Matrix4x4):void[static] 计算仿射矩阵 Matrix4x4  createFromQuaternion(rotation:Quaternion, out:Matrix4x4):void[static] 从四元数计算旋转矩阵 Matrix4x4  createLookAt(eye:Vector3...

来源: laya_api 发布时间: 20170929

3. laya.d3.math.Matrix4x4 [ 94%]

...:void 克隆。 Matrix4x4  createAffineTransformation(trans:Vector3, rot:Quaternion, scale:Vector3, out:Matrix4x4):void[static] 计算仿射矩阵 Matrix4x4  createFromQuaternion(rotation:Quaternion, out:Matrix4x4):void[static] 从四元数计算旋转矩阵 Matrix4x4  createLookAt(eye:Vector3...

来源: Laya2.0_api 发布时间: 20190513

4. 有没有unity里的Quaternion.FromToRotation类似的接口可用? [ 91%]

有没有unity里的Quaternion.FromToRotation类似的接口可用? 就是创建从一个向量到另外一个向量旋转Quaternion.FromToRotation(Vector3,Vector3),返回一个用四元数表示的旋转 2018-09-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

5. 如何旋转模型的z轴到指定的向量的方向 [ 91%]

...的方向 如题,想让模型面朝指定向量的方向,用的 Laya.Quaternion.rotationLookAt() 的方法,但是并没有达到预期效果 这个方法的参数 up 指定的是世界坐标的 up 方向?还是基于 forward 的 up 方向? 附件 : --> quaternion_demo.zip 2020-08-11 添加...

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

6. laya.maths.Matrix4x4_API3.0 [ 90%]

...TranslationVector transpose billboard createAffineTransformation createFromQuaternion createLookAt createOrthoOffCenter createPerspective createPerspectiveOffCenter createRotationAxis createRotationQuaternion createRotationX createRotationY createRotationYawPitchRoll createRotationZ createScaling cr...

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

7. laya.d3.math.Matrix4x4_API3.0 [ 90%]

...TranslationVector transpose billboard createAffineTransformation createFromQuaternion createLookAt createOrthoOffCenter createPerspective createPerspectiveOffCenter createRotationAxis createRotationQuaternion createRotationX createRotationY createRotationYawPitchRoll createRotationZ createScaling cr...

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

8. laya.d3.utils.Utils3D_API3.0 [ 85%]

...Verion mulMatrixByArray mulMatrixByArrayAndMatrixFast mulMatrixByArrayFast quaternionWeight transformQuat transformVector3ArrayByQuat transformVector3ArrayToVector3ArrayCoordinate transformVector3ArrayToVector3ArrayNormal uint8ArrayToArrayBuffer Properties Static _tempV0 _tempV0: Vector3 = new Vecto...

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

9. 关于Quaternion.rotationLookAt的问题 [ 83%]

关于Quaternion.rotationLookAt的问题 刚用laya不久,在导入一个unity模型做旋转的时候,试图用Quaternion.rotationLookAt生成一个Quaternion直接赋值给Sprite3D的rotation。发现结果怎么都不对,跟到Matrix3x3.lookAt里看实现,生成三个向量之后赋值...

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

10. laya.d3.utils.Utils3D [ 82%]

...ormVector3ArrayByQuat(sourceArray:Float32Array, sourceOffset:int, rotation:Quaternion, outArray:Float32Array, outOffset:int):void[static] 根据四元数旋转三维向量。 Utils3D  transformVector3ArrayToVector3ArrayCoordinate(source:Float32Array, sourceOffset:int, transform:Matrix4x4, result:F...

来源: laya_api 发布时间: 20170929