Change physics gravity angle

Get help using Construct 2

Post » Sun Jan 08, 2012 2:06 am

@sqiddster
since I wrote most of your gravity system? :D
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Sun Jan 08, 2012 11:30 am

Here is my the capx file.
I tried to use what was suggested about setting world gravity to 0
and using force to angle.

http://dl.dropbox.com/u/1264554/construct2/test-ball.capx

B
20
S
5
G
5
Posts: 37
Reputation: 4,072

Post » Sun Jan 08, 2012 12:54 pm

@Yann...
Fun nonetheless!
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Sun Jan 08, 2012 4:15 pm

The force was too high for this poor low density ball

angledGravity.capx
Last edited by Yann on Sun Sep 14, 2014 10:15 pm, edited 1 time in total.
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Thu Jan 12, 2012 2:04 pm

thanks :)
B
20
S
5
G
5
Posts: 37
Reputation: 4,072

Post » Thu Jan 12, 2012 8:10 pm

Yann: What was the benefit of not using the "apply force at angle" action?
B
28
S
8
G
1
Posts: 469
Reputation: 4,683

Post » Thu Jan 12, 2012 9:10 pm

Probably because the system currently returns vector X and Y components and it is easier if your operations use them directly.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Thu Jan 12, 2012 10:34 pm

@keepee
@sqiddster
Actually it's pretty much the same thing. There's exactlly the same control and I suspect that "apply force at angle" does exactly what I did with apply force.
So no benefit, just showing off some sinus and cosinus to scare our dear n00bs.
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Thu Jan 12, 2012 11:01 pm

@Yann That's actually what I was going to say... but then I thought, no, it couldn't be.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Fri Jan 13, 2012 12:13 am

[QUOTE=Yann] just showing off some sinus and cosinus to scare our dear n00bs.[/QUOTE]

I knew it! hah.
B
28
S
8
G
1
Posts: 469
Reputation: 4,683

PreviousNext

Return to How do I....?

Who is online

Users browsing this forum: kamens503, Yahoo [Bot] and 26 guests