大约有 10 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0046 秒)
...于过滤不需要的碰撞。 引擎内置的碰撞组工具类为`Laya.Physics3DUtils`。 ###### 全部可碰撞的组 由于碰撞组之间的碰撞依据是位运算的按位与,按位与的计算结果非0则可以碰撞,为0则不可碰撞。 Physics3DUtils工具类的`COLLISIONFILTERGROUP...
来源: Laya2.0_文档 发布时间: 20210715
...址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Physics3D&name=PhysicsWorld_BaseCollider))可以看到效果。** (图8) #### (6) MeshColliderShape网格型 网格形利用一个网格资源并在其上构建的。对于复杂网状模型上的碰撞检测...
来源: Laya2.0_文档 发布时间: 20210715
...址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Physics3D&name=PhysicsWorld_BaseCollider))可以看到效果。** (图8) #### (6) MeshColliderShape网格型 网格形利用一个网格资源并在其上构建的。对于复杂网状模型上的碰撞检测...
来源: Laya2.0_文档 发布时间: 20210714
...址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Physics3D&name=PhysicsWorld_Character)) ```typescript //为精灵添加角色控制器 var character = monkey.addComponent(Laya.CharacterController); //创建胶囊碰撞器 var sphereShape = new Laya.CapsuleColliderShape(1....
来源: Laya2.0_文档 发布时间: 20210715
...址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Physics3D&name=PhysicsWorld_BaseCollider))可以看到效果。** (图8) #### (6) MeshColliderShape网格型 网格形利用一个网格资源并在其上构建的。对于复杂网状模型上的碰撞检测...
来源: Laya2.0_文档 发布时间: 20210714
...址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Physics3D&name=PhysicsWorld_Character)) ```typescript //为精灵添加角色控制器 var character:Laya.CharacterController = monkey.addComponent(Laya.CharacterController); //创建胶囊碰撞器 var sphereShape:Laya.Caps...
来源: Laya2.0_文档 发布时间: 20210714
...址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Physics3D&name=PhysicsWorld_Character)) ```typescript //为精灵添加角色控制器 var character:CharacterController = monkey.addComponent(CharacterController); //创建胶囊碰撞器 var sphereShape:CapsuleColliderShap...
来源: Laya2.0_文档 发布时间: 20210715
...址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Physics3D&name=PhysicsWorld_RayShapeCast)); ```typescript var hitResult:HitResult = new HitResult(); var hitResults:Vector. = new Vector.(); //是否穿透 if (castAll) { //进行射线检测,检测所有碰撞的物体 sc...
来源: Laya2.0_文档 发布时间: 20210715
...址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Physics3D&name=PhysicsWorld_RayShapeCast)); ```typescript this.hitResult = new Laya.HitResult(); this.hitResults= []; //是否穿透 if (this.castAll) { //进行射线检测,检测所有碰撞的物体 this.scene.physicsSi...
来源: Laya2.0_文档 发布时间: 20210715
...址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Physics3D&name=PhysicsWorld_RayShapeCast)); ```typescript var hitResult:Laya.HitResult = new Laya.HitResult(); var hitResults = []; //是否穿透 if (this.castAll) { //进行射线检测,检测所有碰撞的物体 this.s...
来源: Laya2.0_文档 发布时间: 20210715