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.
別のボディと接触する場所に応じて、異なる衝突状態を計算させるSKSpriteことは可能ですか? PhysicsBodyたとえば、青いボールが他のオブジェクトの側面に接触すると緑色に変わり、他のオブジェクトの底に触れると黄色に変わる場合。
SKSprite
PhysicsBody
スプライトを子スプライトに分離し、それらに異なるロジックを設定できます。
ノードを使用した複雑なコンテンツの構築