Nape

Napeとは

 Napeとは高速でパワフルな、AS3 / Haxe のための優しい2次元の剛体物理エンジン。

特徴

  • 剛体や浮力の物理挙動、衝突判定と衝突応答
  • 凸ポリゴンやサークルなどのシェイプ
  • 強力で高レベルなコールバックシステム
  • 距離はピクセル単位
  • 連続衝突 / 連続検出を回避
  • 間違った使用方法をした場合には、APIエラーを報告する
  • Sleeping / Waking の自動呼び出し。手動で剛体をWakeすることは通常は不要
  • Friendly, expressive API that uses a lazy implementation to avoid excessive calculations.
  • 高速で動作する!
  • メモリキャッシュで実装。ガベコレは使わない
  • Numerically stable Geometric utilities including Convex Decompositions.
  • Ability to create new Constraints without modifying Nape source. Through the symbolic module, can prototype new constraints using a high-level language specified at run-time.
  • All positional-constraints, including user-defined ones can be made elastic or stiff.

使い方