大约有 5 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0018 秒)
... sprite3d4; var sphereMesh; var str5 = "旁白 : 秀恩爱,死得快! (MeshCollider)"; function onComplete(){ //添加精灵到场景 sprite3d1 = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/NvWu/NvWu-shenminvwu.lm"))); sprite3d2 = scene.addChild(new Laya.M...
来源: Laya_示例 发布时间: 20241124
... Laya.Vector4(0.9, 0.9, 0.9, 1); plane.meshRender.material = planeMat; var meshCollider = plane.addComponent(Laya.MeshCollider); meshCollider.mesh = plane.meshFilter.sharedMesh; Laya.timer.frameLoop(1, this, checkHit); var ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); var...
来源: Laya_示例 发布时间: 20241124
...r.transform.rotate(new Laya.Vector3(0, -45, 0), false, false); var cylinderMeshCollider = cylinder.addComponent(Laya.MeshCollider); cylinderMeshCollider.mesh = cylinder.meshFilter.sharedMesh; cylinder.name = "圆柱体"; //胶囊体 var capsule = scene.addChild(new Laya.MeshSprite3D(new Laya.Capsule...
来源: Laya_示例 发布时间: 20241124
... Laya.Vector4(0.9, 0.9, 0.9, 1); plane.meshRender.material = planeMat; var meshCollider = plane.addComponent(Laya.MeshCollider); meshCollider.mesh = plane.meshFilter.sharedMesh; var box = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(0.5, 0.5, 0.5))); var mat = new Laya.StandardMaterial(); m...
来源: Laya_示例 发布时间: 20241124
...rt laya.d3.component.physics.BoxCollider; import laya.d3.component.physics.MeshCollider; import laya.d3.component.physics.SphereCollider; import laya.d3.core.Camera; import laya.d3.core.Layer; import laya.d3.core.MeshSprite3D; import laya.d3.core.PhasorSpriter3D; import laya.d3.core.SkinnedMeshSprit...
来源: Laya_示例 发布时间: 20241124