Hi all,
just wondering if this is a bug or if i'm missing something about ChainShapes.
I've the world as in the images attached.
The ramp is a chainshape with the following joints
I've also a square box, with a side of 30.0, in (40.0,Y) with Y>70, and a circleshape of radius 15.0 in (75.0,55.0).
The box penetrate the chainshape, the circleshape doesn't.
So i've added a few more joints to the chainshape, between (0.0,40.0) and (100.0,40.0), in
and i can finally manage to get the box stay over the chainshape.
Is this behavior ok?
just wondering if this is a bug or if i'm missing something about ChainShapes.
I've the world as in the images attached.
The ramp is a chainshape with the following joints
Code:
(0.0,40.0)
(100.0,40.0)
(190.0,50.0)
(260.0,70.0)
(290.0,90.0)
(310.0,120.0)
(320.0,160.0)
(320.0,190.0)
(370.0,190.0)
(370.0,0.0)
(0.0,0.0)
(0.0,40.0)
(100.0,40.0)
(190.0,50.0)
(260.0,70.0)
(290.0,90.0)
(310.0,120.0)
(320.0,160.0)
(320.0,190.0)
(370.0,190.0)
(370.0,0.0)
(0.0,0.0)
(0.0,40.0)
I've also a square box, with a side of 30.0, in (40.0,Y) with Y>70, and a circleshape of radius 15.0 in (75.0,55.0).
The box penetrate the chainshape, the circleshape doesn't.
So i've added a few more joints to the chainshape, between (0.0,40.0) and (100.0,40.0), in
Code:
(10.0,40.0)
(20.0,40.0)
(30.0,40.0)
(40.0,40.0)
(50.0,40.0)
(20.0,40.0)
(30.0,40.0)
(40.0,40.0)
(50.0,40.0)
and i can finally manage to get the box stay over the chainshape.
Is this behavior ok?