大约有 1 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0009 秒)
...sition, new box2d.b2Vec2()); if (d.LengthSquared() < 1E-5) { continue; } 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: ...
来源: Laya2.0_示例 发布时间: 20241118