大约有 2 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0012 秒)
...blic class Physics_Physics_CollisionFiltering { public static const k_smallGroup = 1; public static const k_middleGroup = 0; public static const k_largeGroup = -1; public static const k_triangleCategory = 0x2; public static const k_boxCategory = 0x4; public static const k_circleCategory = 0x8; publi...
来源: Laya2.0_示例 发布时间: 20241118
...ody = leg1.addComponent(RigidBody); legBody1.angularDamping = 10; legBody1.group = -1; let legCollider1: PolygonCollider = leg1.addComponent(PolygonCollider); legCollider1.density = 1; let leg2 = new Sprite(); leg2.pos(this.pos[0] + this.m_offset[0] + p4[0], this.pos[1] + this.m_offset[1] + p4[1] + ...
来源: Laya2.0_示例 发布时间: 20241118