大约有 298 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0049 秒)
Laya_社区(215) Laya3.0_api(26) Laya2.0_文档(26) Laya2.0_api(18) Laya3.0_文档(7) Laya2.0_示例(5) Laya_示例(1)
laya2.7.3 Cannon物理设置了ColliderShape的localOffset属性 并 isKinematic=true时模型会匀速移动 如题 Cannon物理引擎同时设置ColliderShape的localOffset属性 和CannonRigidbody3D的isKinematic=true时模型会朝着localOffset方向匀速移动 index.js引用的库如下: ...
来源: Laya_社区 发布时间: 20200915
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/constraints/FixedConstraint" FixedConstraint Class FixedConstraint Hierarchy ConstraintComponent FixedConstraint Index C...
来源: Laya3.0_api 发布时间: 20231115
## 一篇上手LayaAir的3D物理引擎 > *Author: Charley Date: 2021-01-05 Engine&IDE Version : 2.9.0* LayaAir引擎集成了世界三大物理引擎之一的Bullet引擎,当在Unity中使用了物理组件,用LayaAir的Unity插件导出后,默认就是采用的Bullet引擎。当然,LayaAir...
来源: Laya2.0_文档 发布时间: 20210715
localRotationEulerY旋转位置错误 import { ui } from "./../ui/layaMaxUI"; /** * 本示例采用非脚本的方式实现,而使用继承页面基类,实现页面逻辑。在IDE里面设置场景的Runtime属性即可和场景进行关联 * 相比脚本方式,继承式页面类...
来源: Laya_社区 发布时间: 20201120
API DocumentationAll Packages | All Classes | Index | Frames No Frames PrismaticJointProperties | Methods Packagelaya.physics.jointClasspublic class PrismaticJointInheritancePrismaticJoint JointBase Component Object 平移关节:移动关节允许两个物体沿指定轴相对移动,它...
来源: Laya2.0_api 发布时间: 20190513
[LayaAir 2.0] 如何用代码为Spirte添加2d物理特性 官方的2d物理引擎文档都是IDE篇的。 class CollisionBoll extends Laya.Sprite { private _boll1:Laya.Sprite; constructor() { super(); //物理模块 this._boll1 = new Laya.Sprite(); this.addChild(this._boll1); this._boll1.x = 20...
来源: Laya_社区 发布时间: 20190428
linearVelocity 获取的线速度不正确 给一刚体赋值线速度 获取得到的线速度完全是不正确的 let vectory = new Laya.Vector3(-Math.cos(this.angle) * this.v,0,0); // this.rigidbody.applyForce(vectory); this.rigidbody.linearVe...
来源: Laya_社区 发布时间: 20200330
laya2.0版本支持MeshColliderShape吗 2.0测试版的MeshColliderShape是可以用吗,我这样添加之后报错 let sp3d = scene.getChildByName("GameObject").getChildByName("dimian_5"); let rigidBody = sp3d.addComponent(Laya.Rigidbody3D) let shape = new Laya.MeshColliderShape() shape.mesh = s...
来源: Laya_社区 发布时间: 20180816
[LayaAir 2.0] 如何用代码为Spirte添加2d物理特性 官方的2d物理引擎文档都是IDE篇的。 我试着用代码实现物理效果class CollisionBoll extends Laya.Sprite { private _boll1:Laya.Sprite; constructor() { super(); //物理模块 this._boll1 = new Laya.Sprite(); this.addCh...
来源: Laya_社区 发布时间: 20190428
Laya2.0 3D刚体获取不了totalForce 调试中totalForce和totalTorque都是TypeError,而我现在迫切需要这两个字段。。 附件 : --> ForceTest.zip 2019-06-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 ...
来源: Laya_社区 发布时间: 20190617