Ticket #24562

円形を含んだ物理演算の実装

Open Date: 2011-02-28 16:11 Last Update: 2011-03-03 21:34

Reporter:
Status:
Open [Owner assigned]
Component:
(None)
MileStone:
(None)
Priority:
7
Severity:
5 - Medium
Resolution:
None
File:
None

Details

ISpriteBodyをIStageWorldから作成できるようにしてください
IPolygonSpriteShapeとICircleSpriteShapeをISpriteBodyから作成できるようにしてください
ISpriteBody.Loadで自身をWorldに登録してください
IPolygonSpriteShapeおよびICircleSpriteShapeはISpriteShapeを継承している
IPolygonSpriteShapeおよびICircleSpriteShapeを実装するクラスを作成してください
ISpriteContactは衝突結果を表します
Sourceは衝突元のISpriteShapeです
Targetは衝突先のISpriteShapeです
IPolygonSpriteContactおよびICircleSpriteContactは、それぞれポリゴンの衝突結果、円の衝突結果を表します
PositionはSourceから見た相対的な衝突位置です
EdgeIndicesおよびVertexIndicesはそれぞれ、衝突した辺、頂点のインデックスです

Ticket History (3/3 Histories)

2011-02-28 16:11 Updated by: biikame
  • New Ticket "円形を含んだ物理演算の実装" created
2011-02-28 19:42 Updated by: biikame
  • Details Updated
2011-03-03 21:34 Updated by: biikame
  • Details Updated

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login