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.
Box2dで頂点の位置を取得するにはどうすればよいですか?
ここで推測するだけですが、ボディからフィクスチャ リストを取得し、形状を取得して形状から頂点 (b2Vec2) を取得するようなことができると思います。次に、本体を呼び出します。
b2Vec2 GetWorldPoint (const b2Vec2 &localPoint) const
体に適用されている現在の変換が考慮されることを願っています。
それが役に立てば幸い!