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

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

71. laya.d3.physics.PhysicsSimulation_API3.0 [ 67%]

... raycastFromTo removeConstraint removeVehicle setHitsRayResultCallbackFlag shapeCast shapeCastAll sphereQuery createConstraint Properties dt dt: number = 1 / 60 Defined in laya/d3/physics/PhysicsSimulation.ts:160 fixedTimeStep fixedTimeStep: number = 1.0 / 60.0 Defined in laya/d3/physics/PhysicsSimu...

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

72. laya.d3.core.light.AreaLightCom_API3.0 [ 67%]

...hadowMode shadowNearPlane shadowNormalBias shadowResolution shadowStrength shape size spread Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new AreaLightCom(): Area...

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

73. laya.d3.core.particleshuriken.ShurikenParticleInstanceSystem_API3.0 [ 61%]

...Alive isEmitting isPaused isPlaying maxParticles mode rotationOverLifetime shape sizeOverLifetime startLifeTimeGradient startLifeTimeGradientMax startLifeTimeGradientMin startLifetimeConstant startLifetimeConstantMax startLifetimeConstantMin startLifetimeType textureSheetAnimation velocityOverLifeti...

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

74. laya.d3.physics.PhysicsComponent [ 61%]

...llideWith : int 获取可碰撞的碰撞组。 PhysicsComponent  canScaleShape : Boolean = true 是否可以缩放Shape。 PhysicsComponent  ccdMotionThreshold : Number 取用于连续碰撞检测(CCD)的速度阈值,当物体移动速度小于该值时不进行CCD检测,防止快速移动物体...

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

75. laya.d3.core.particleShuriKen.ShurikenParticleSystem [ 59%]

...放模式,0为Hiercachy,1为Local,2为World。ShurikenParticleSystem  shape : BaseShape 获取形状。 ShurikenParticleSystem  simulationSpace : int模拟器空间,0为World,1为Local。暂不支持Custom。ShurikenParticleSystem  sizeOverLifetime : SizeOverLifetime 获取生命周期尺寸...

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

76. Uncaught 无法实例class PhysicsCollider extends PhysicsTriggerComponent [ 58%]

... = data.isTrigger);         super._parse(data);         this._parseShape(data.shapes);     }     _onAdded() {         var bt = Physics3D._bullet;         var btColObj = bt.btCollisionObject_create();         bt.btCollisionObject_setUserIndex(btColObj, this.id);         bt...

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

77. 有没有办法可以绘制出collidershape [ 57%]

LayaAir引擎 有没有办法可以绘制出collidershape 请问下有没有什么方法可以将collider shape绘制出来? 这样方便我们debug 2019-06-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为...

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

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

... 球体,质量5,半径1 var mass:Object=50, radius:Object=1; var sphereShape:Object=new CANNON.Sphere(radius); sphereBody=new CANNON.Body({mass: mass, shape: sphereShape}); sphereBody.position.set(0, 0, 100); world.add(sphereBody); // 创建世界平面,添加到加农世界 var groundShape:Ob...

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

79. laya.d3.core.particleshuriken.ShurikenParticleSystem_API3.0 [ 56%]

...Alive isEmitting isPaused isPlaying maxParticles mode rotationOverLifetime shape sizeOverLifetime startLifeTimeGradient startLifeTimeGradientMax startLifeTimeGradientMin startLifetimeConstant startLifetimeConstantMax startLifetimeConstantMin startLifetimeType textureSheetAnimation velocityOverLifeti...

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

80. 刚体组件销毁的bug [ 56%]

刚体组件销毁的bug 如果刚体没有指定_colliderShape就destroy,会报错,demo就不给了吧,重现只需要: let rigidBody = obj.addComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D; rigidBody.enabled = false; rigidBody.destroy();  原因就是销毁的时候,没有对_colliderSh...

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