Inner circle edge as collidable area?

0 views
Skip to first unread message

Toltec7

unread,
Jan 23, 2008, 11:19:50 AM1/23/08
to APE General
Hi,

how would i go about making the inner edge of the circle (if we split
the circle in half) collidable, as in acting like outer edge does
now...?

I tried with adding a lot of rectangles in circular shape and under
proper angles but it doesn't work quite as I imagined... it stucks a
bit here and there and bounces off weird when an object falls onto it
and I really can't have it in the project i'm working on...

Any suggestion is welcome...
Although I figure this is far from easy...

Đani

Đani Stojanov

unread,
Jan 23, 2008, 11:29:52 AM1/23/08
to APE General
I just searched a bit and saw this question popped up a few times and rectangles are recommended...
I didn't use connections with my rectangles yet, so I'll see what result I get after that...

Đani

2008/1/23 Toltec7 <dani.s...@gmail.com>:

Frédéric Gascon

unread,
Jan 23, 2008, 9:03:52 PM1/23/08
to APE General
I modified the alpha 0.45 version of APE to add the inner circle
collision.
I added a new particle: the InnerCircleParticle wich collide with is
inside edge.

I don't realy understand how Circle vs Rectangle collisions work, so I
didn't manage to make InnerCircle vs Rectangle collisions to work. But
InnerCircle vs Circle collisions and InnerCircle vs Wheel collisions
seem to work well.

I uploaded it in the group's files (http://ape-
general.googlegroups.com/web/InnerCircleCollision.zip)

Frédéric Gascon

On 23 jan, 11:29, "Đani Stojanov" <dani.stoja...@gmail.com> wrote:
> I just searched a bit and saw this question popped up a few times and
> rectangles are recommended...
> I didn't use connections with my rectangles yet, so I'll see what result I
> get after that...
>
> Đani
>
> 2008/1/23 Toltec7 <dani.stoja...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages