★★★ Soft Body Physics ★★★
Soft body physics in GameSalad.

Notice how the mass is evenly distributed depending how big the gaps are (the smaller the gaps the more the ball is stretched).
Also the squash effect after its hit the ground depends on speed and distance fallen.
Darren.
FREE Templates and GS Tools

Notice how the mass is evenly distributed depending how big the gaps are (the smaller the gaps the more the ball is stretched).
Also the squash effect after its hit the ground depends on speed and distance fallen.
Darren.
FREE Templates and GS Tools
This discussion has been closed.
Comments
Kipper
I think the trick is done with two main things...
1 - The circle has no real graphics. It's just an outline. So, you don't actually see the actor spinning.
2 - The width/height of the actor is being interpolated or altered somehow when the ball reaches a narrow passage, to let it fit through the spaces. This could be accomplished with invisible actors that tells the ball actor how to change size or it could be accomplished with a series of logic/math/tags/collision detection.
The nice use of restitution gives the ball a bouncy effect. It's a clever combination of several GameSalad elements.
The 1st gap you see is 56 pixels wide (saved to an integer) so i took the size of the ball actor (64) and took away the 56 which leaves 8 then added it onto the height which = 72 so it always looks correct...smaller the gaps more stretched it is.
I have only 1 actor for the gaps that can be changed on the fly buy changing its size in the scene so when the ball approaches a new gap it already know by the size of the actor what to do.
Darren.
Darren.
now if you can just give it a rippling cape which flutters and moves as it falls and moves around... :-)