2009-07-06から1日間の記事一覧
listener使うと、いろいろ複雑になるけど、step()した後に、 bodyからコンタクトリストたどるだけでいいみたい。 ContactEdge c=bodies[index].m_contactList; while(c!=null){ c.other//あたったbody c=c.next; }
listener使うと、いろいろ複雑になるけど、step()した後に、 bodyからコンタクトリストたどるだけでいいみたい。 ContactEdge c=bodies[index].m_contactList; while(c!=null){ c.other//あたったbody c=c.next; }