Disable Collision

Get help using Construct 2

Post » Mon Sep 10, 2012 2:53 am

Hey Guys,

i hope you can help me.

I have a Game were you have to reach the end of the level with a ball that only can move with collision with arrows.. if the ball collided with an arrow to the left side it gets an velocity value from about -850 @ the x-axis.

But now i have a very very big Problem. If the Ball collided with an arrow that arrow will be invisible. And then i wanna disable the collision if the ball intersects a second time with the same arrow. Destroying the Arrow is not a solution because the arrows should be on the place where they are placed^^. Would be very bad if the Player must move every arrow from new if on Attempt was failed.

How do i do it. @ the moment the ball collided also with an invisible arrow and that should not happened..

Hope you know what i mean...

Here are 3 Screenshots of the Event Sheet that is use in all layouts.

http://imageshack.us/photo/my-images/198/construct2config.png/
http://imageshack.us/photo/my-images/217/construct2config3.png/
http://imageshack.us/photo/my-images/560/construct2config2.png/
B
3
Posts: 17
Reputation: 609

Post » Mon Sep 10, 2012 4:03 am

There is an action for physics object to disable the collisions. When the arrows are invisible disable the collision with the ball.
SamCartagenaPR2012-09-10 04:17:24
B
61
S
5
G
5
Posts: 32
Reputation: 6,743

Post » Mon Sep 10, 2012 6:28 pm

Yeah but how can i check that the arrows are invisible. I only know how to check it when the arrows are visible.....
B
3
Posts: 17
Reputation: 609

Post » Mon Sep 10, 2012 7:23 pm

Right click on the condition (is visible) and select "Invert".
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Tue Sep 11, 2012 3:00 am

Yeah i tried it but there's no good result. Seems to be a bug in the collision of C2.




Look @ this. seems to be correct.
B
3
Posts: 17
Reputation: 609

Post » Tue Sep 11, 2012 3:01 am

http://imageshack.us/photo/my-images/23/visiblesettings.png/

Hope this Link works.
B
3
Posts: 17
Reputation: 609

Post » Tue Sep 11, 2012 10:23 pm

No one has an idea how i can solve this issue???
B
3
Posts: 17
Reputation: 609

Post » Tue Sep 11, 2012 10:48 pm

Are your arrows physics objects? If not just put a 'arrow: is visible' condition alongside the 'ball: on collision with arrow' condition.
B
54
S
28
G
18
Posts: 1,520
Reputation: 24,990

Post » Sun Sep 16, 2012 3:25 am

Big thanks ramones... It works like a charm... big thanks :-)
B
3
Posts: 17
Reputation: 609


Return to How do I....?

Who is online

Users browsing this forum: Evanetot and 18 guests