How do I air vent physics

Get help using Construct 2

Post » Wed Sep 24, 2014 4:03 pm

Hi, how can i make an "air vent" where if my physics ball pass throu it and it will make it Fly.
Sorry for my english i hope you can understand mu question
B
8
S
1
Posts: 34
Reputation: 434

Post » Wed Sep 24, 2014 4:20 pm

have you tried to create an sprite and spawn bullets from it? The bullets can have physics and will probably move another object on collision (if you apply physics on them).

Do not put many of them tough, or you can have performance issues. just create a bunch and make them fade away or destroy outside the layout so you can keep the object count low.

I hope it helps.
B
33
S
5
G
1
Posts: 163
Reputation: 2,698

Post » Wed Sep 24, 2014 5:19 pm

Thanks, i will try that... I'll let you know if it works
B
8
S
1
Posts: 34
Reputation: 434

Post » Wed Sep 24, 2014 5:43 pm

draft idea. Drag the car around.

Was it you were looking for?
You do not have the required permissions to view the files attached to this post.
B
33
S
5
G
1
Posts: 163
Reputation: 2,698

Post » Thu Sep 25, 2014 2:17 am

yes and no.

well my idea is to have a physics ball, and it rolls on the level till it finds a "fan" in the ground that makes the ball rise in the air and can go to another plataform that is in the sky.

the example you send was ok. but if i change the car physics "Inmobible" to "no", the game just go very very slow, and it dosnt do the same effect i want!
so i think i need like a physics force or impulse that is all the time "on" so when my ball go thru the fan it will fly.
but i cant make it happen!

Sorry for my bad english.
i hope you can understand the idea i have in mind. :P
B
8
S
1
Posts: 34
Reputation: 434

Post » Thu Sep 25, 2014 3:25 am

Lol. I thought you were talking about this, bro:
https://www.youtube.com/watch?v=sV_6E1Lh7yo
B
33
S
5
G
1
Posts: 163
Reputation: 2,698

Post » Thu Sep 25, 2014 3:56 am

One method could be to have a sprite and when ball is overlapping sprite apply impulse at y.
B
15
S
3
G
3
Posts: 93
Reputation: 1,466

Post » Thu Sep 25, 2014 4:41 am

yea i allready did that, but it doesnt do the effect of a fan in the floor.
do you have any other idea?
B
8
S
1
Posts: 34
Reputation: 434

Post » Thu Sep 25, 2014 4:46 am

the idea is that the ball can stay as long as the player wants in the "air" that is coming out of the fan.
B
8
S
1
Posts: 34
Reputation: 434

Post » Thu Sep 25, 2014 5:14 am

I don't do much with physics, but could you do this by changing the gravity?
B
88
S
43
G
71
Posts: 601
Reputation: 43,669

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests