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.
私のゲームでは、2本の線と円との線の交点を実装しました。あるオブジェクト(空の雲など)との交差線を実装するにはどうすればよいですか?交点が必要です。
オブジェクトが線分で構成されている場合、それらと交差することができます。線分と交差する場合は、線の交差にコードを使用できますが、交差点が端点の間にあることをさらに確認する必要があります。