大约有 23 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0019 秒)
...dAt(0).getChildAt(0) as Laya.Sprite3D; this.scene.addChild(this.car); this.rig = (this.car.getComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D) })); 源 • 2019-01-11 20:47 @叶子:不算。这样只是给了刚体一个索引而已 叶子 • 2019-01-11 20:54 @源:额,我说呢,都转不动。 ...
来源: Laya_社区 发布时间: 20190111
...式index Format3.3 处理法线与切线3.4 UV1四、模型的骨骼绑定(Rig)导入设置说明4.1 每顶点最大骨骼数 Max Bones / Vertex4.2 骨骼影响最小权重 Min Bone Weight五、模型的动画(Animator)导入设置说明六、模型的材质(Materials)导入设置说明6.1 提取材...
来源: Laya3.0_文档 发布时间: 20251010
...t { constructor() { super(); } onEnable(): void { //设置初始速度 let rig: Laya.RigidBody = this.owner.getComponent(Laya.RigidBody); rig.setVelocity({ x: 0, y: -10 }); } onTriggerEnter(other: any, self: any, contact: any): void { //如果被碰到,则移除子弹 this.owner.removeSelf(); } on...
来源: Laya3.0_文档 发布时间: 20251010