@Rob I used to be good at maths and (maybe because it’s early) that’s clear as mud! Maybe because you skipped all parts of finding out what % of 128 , 41 is? I’m guessing, as I said, it’s early and your post lost me after the pixels per percent; it just seems to presume knowledge of some numbers and doesn’t explain where they came from.
I got my head around it (especially as I’m defying orders and working with 128x40 - no problems so far, early morning maths aside ) by looking at it the following way:
We’ve decided 1 World Unit is 128 pixels - this is a fairly arbitrary decision based on block/paddle width. However our block isn’t a full World Unit high, ie. it’s less than 128 pixels on the y axis.
If we work out how many times the ‘height’ of our block goes into its width, we can then divide the World Unit width of the block by the same number to get the World Unit equivalent of its height.
So, for a 41 height block, you divide width by height (128/41) and get 3.12195122
And then convert to World Units: 1 / 3.12195122 = 0.3203125 which rounds to 0.32
Anyway, glad you managed to get the snap working @Vaughan_MacEgan