ios7 - UIDynamics - collision issue -


here little question uidynamics.

i have 8 square blocks laid out horizontally across iphone screen. each square 40 x 40. since there 8 of them, fill width of 320 screen.

i guess picture clear. comes question:

when apply vertical gravity towards bottom blocks fall expect. when apply lateral gravity (left or right) move 1 pixel or 2 each. last being therefore shifted 10 pixels or so. why that?

i use:

collisionbehave.translatesreferenceboundsintoboundary=yes; 

in code.

i expect blocks not move @ when apply lateral gravity.
think not quite understand how collisions between moving parts handled.

thanks in advance tip.

you have set 8 squares uidynamicitemsbehavior , set density of behavior.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

debian - 500 Error upon login into Plesk Admin - auth.php3? -