Inflate physics object - possible?

Get help using Construct 2

Post » Tue Jan 21, 2014 11:03 pm

Hi, I need to have a physics object "inflated" during game. It should push things apart as it grows.

I found that resizing/scaling conflicts with the Physics behavior. I also tried changing animations, but they just won't change. I could spawn larger sprites in a loop, but the problem is that the resulting overlap would not produce a gentle push but kick things around violently. Any suggestions are welcome, thanks.
B
5
S
1
Posts: 13
Reputation: 324

Post » Wed Jan 22, 2014 2:06 am

Like this?:

https://www.dropbox.com/s/nnz60lspve2i1go/PhysicsInfaltionTest_1.capx
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Wed Jan 22, 2014 8:43 am

OFFTOPIC/FUN FACT: As far as I know, the Physics engine has no air resistance variables, and all the objects MUST have the same gravity. Which sucks on ice.
ONTOPIC: Maybe, try to change the density of the inflating object when it changes scale/animation?
HARMLESS SIGNATURE THAT IS VIEWED BY OTHERS AS OFFENSIVE AND CONTROVERSIAL
B
14
S
3
G
3
Posts: 356
Reputation: 4,377

Post » Wed Jan 22, 2014 3:27 pm

[QUOTE=TiAm] Like this?:

https://www.dropbox.com/s/nnz60lspve2i1go/PhysicsInfaltionTest_1.capx[/QUOTE]

Thanks. I can't upgrade to the latest release due to a dll bug, but will take a look as soon as I can.
B
5
S
1
Posts: 13
Reputation: 324


Return to How do I....?

Who is online

Users browsing this forum: ST314 and 29 guests