プレイ日記
smashio XZelda-HolicX
how do i collide two circles?
3そうだね
プレイ済み
返信[1]
親投稿
Hanzo rzsense
When the distance between X,Y and EX,EY is smaller than or equal to R1+R2, the collision between two circles occurs. The following formula yields the above-mentioned distance. SQR((EX-X)*(EX-X)+(EY-Y)*(EY-Y))
1そうだね
未プレイ
返信[2]
親投稿
Stewart segludian1
I made a demo for you, see part one attached.
0そうだね
プレイ済み
返信[3]
親投稿
Stewart segludian1
part two.
0そうだね
プレイ済み
返信[4]
親投稿
Stewart segludian1
part three. The final part. This is the circle intersect checking function.
1そうだね
プレイ済み
返信[5]
親投稿
smashio XZelda-HolicX
ok thanks guys!
0そうだね
プレイ済み