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.
みんなiPhoneのタッチムーブメソッドからbox2dオブジェクトをドラッグしたい
マウスジョイントを使用しましたが、ゴムで縛られているように、オブジェクトがその場所内で変動しているため、完全に機能していません
助けていただければ幸いです
マウスの関節は基本的に輪ゴムです。
ドラッグ中にボディを一時的に破棄し、-(void)onTouchEnded で再作成します。