大约有 1 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0011 秒)
...; } d.Normalize(); const F = new box2d.b2Vec2(d.x * 100, d.y * 100); bodyB.applyForce(position, F); } } onTriggerExit(colliderB: ColliderBase, colliderA: ColliderBase, contact) { if (colliderA === this.sensorCollider) { let bodyB: RigidBody = colliderB.owner.getComponent(RigidBody); let index = body...
来源: Laya2.0_示例 发布时间: 20241119