Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
corona lua-ポイントがdisplayObjectの物理形状の「内側」にあるかどうかをテストする方法は?
これは、表示オブジェクトに「addBody」物理関数を実行するときに使用される「形状」です。
1 つのボディをセンサーにしてから、コリジョン リスナーに event.phase == "began" ステージを設定し、フラグ (isInside など) を true に設定します。