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 中的 touch move 方法中拖动一个 box2d 对象
我已经使用了鼠标接头,但它不能完美地工作,因为物体在它的位置内波动,就像它被橡胶绑住一样
非常感谢您的帮助
鼠标关节本质上是一根橡皮筋。
在拖动时暂时破坏主体,然后在 -(void)onTouchEnded 中重新创建它。