大约有 3 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0012 秒)
...gory=3d&group=Physics3D&name=PhysicsWorld_Character)) ```typescript //为精灵添加角色控制器 var character = monkey.addComponent(Laya.CharacterController); //创建胶囊碰撞器 var sphereShape = new Laya.CapsuleColliderShape(1.0, 3.4); //设置Shape的本地偏移 sphereShape.localOffse...
来源: Laya2.0_文档 发布时间: 20210715
...gory=3d&group=Physics3D&name=PhysicsWorld_Character)) ```typescript //为精灵添加角色控制器 var character:Laya.CharacterController = monkey.addComponent(Laya.CharacterController); //创建胶囊碰撞器 var sphereShape:Laya.CapsuleColliderShape = new Laya.CapsuleColliderShape(1.0, 3.4); ...
来源: Laya2.0_文档 发布时间: 20210714
...gory=3d&group=Physics3D&name=PhysicsWorld_Character)) ```typescript //为精灵添加角色控制器 var character:CharacterController = monkey.addComponent(CharacterController); //创建胶囊碰撞器 var sphereShape:CapsuleColliderShape = new CapsuleColliderShape(1.0, 3.4); //设置Shape的本...
来源: Laya2.0_文档 发布时间: 20210715