Applefountain/Vector X problem

Get help using Construct 2

Post » Wed Nov 18, 2015 4:18 am

Hey there,
I have a problem with getting vector x to work right in my example. I want the tree to shoot the apples randomly in all directions. Vector Y works right, but Vector X seems to have problems, like as the apples stop in mid air. I could build a workaround, but actually i'm just curious why it doesnt work like this?
Here is the capx

https://
drive.google.com/open?id=0B-Ksnwlyt36SdlNlcXhwY3ZhLUU
B
11
S
3
G
2
Posts: 76
Reputation: 1,891

Post » Wed Nov 18, 2015 4:27 am

You aren't applying any vector to the apples, so they just fall under gravity. Try:
Apply Physics impulse 2 toward (random(300,600))
ImageImageImage
B
71
S
20
G
202
Posts: 3,578
Reputation: 114,450

Post » Wed Nov 18, 2015 4:45 am

@blackhornet thanks for the answer. i tried your method but now the apples look like appearing very unnaturally and as if they were stuck in air and falling down. i just want the apples to fly up and then in any direction randomly and also randomly far.
B
11
S
3
G
2
Posts: 76
Reputation: 1,891

Post » Wed Nov 18, 2015 6:01 am

Then play with the numbers. Perhaps a random impulse number also.
ImageImageImage
B
71
S
20
G
202
Posts: 3,578
Reputation: 114,450


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests