大约有 136 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0035 秒)
Laya_社区(41) Laya3.0_api(38) Laya2.0_api(25) Laya2.0_文档(12) Laya3.0_文档(10) laya_api(9) Laya2.0_示例(1)
... 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
...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
...Alive isEmitting isPaused isPlaying maxParticles mode rotationOverLifetime shape sizeOverLifetime startLifeTimeGradient startLifeTimeGradientMax startLifeTimeGradientMin startLifetimeConstant startLifetimeConstantMax startLifetimeConstantMin startLifetimeType textureSheetAnimation velocityOverLifeti...
来源: Laya3.0_api 发布时间: 20231115
...llideWith : int 获取可碰撞的碰撞组。 PhysicsComponent canScaleShape : Boolean = true 是否可以缩放Shape。 PhysicsComponent ccdMotionThreshold : Number 取用于连续碰撞检测(CCD)的速度阈值,当物体移动速度小于该值时不进行CCD检测,防止快速移动物体...
来源: Laya2.0_api 发布时间: 20190513
...放模式,0为Hiercachy,1为Local,2为World。ShurikenParticleSystem shape : BaseShape 获取形状。 ShurikenParticleSystem simulationSpace : int模拟器空间,0为World,1为Local。暂不支持Custom。ShurikenParticleSystem sizeOverLifetime : SizeOverLifetime 获取生命周期尺寸...
来源: Laya2.0_api 发布时间: 20190513
... = 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
LayaAir引擎 有没有办法可以绘制出collidershape 请问下有没有什么方法可以将collider shape绘制出来? 这样方便我们debug 2019-06-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为...
来源: Laya_社区 发布时间: 20190615
... 球体,质量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
...Alive isEmitting isPaused isPlaying maxParticles mode rotationOverLifetime shape sizeOverLifetime startLifeTimeGradient startLifeTimeGradientMax startLifeTimeGradientMin startLifetimeConstant startLifetimeConstantMax startLifetimeConstantMin startLifetimeType textureSheetAnimation velocityOverLifeti...
来源: Laya3.0_api 发布时间: 20231115
刚体组件销毁的bug 如果刚体没有指定_colliderShape就destroy,会报错,demo就不给了吧,重现只需要: let rigidBody = obj.addComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D; rigidBody.enabled = false; rigidBody.destroy(); 原因就是销毁的时候,没有对_colliderSh...
来源: Laya_社区 发布时间: 20200906