I have a background image of sand with the expected ‘dune peaks’ and trough valleys. What i want to do is have these shapes influence to movement of objects on the game board. For example if an object approaches a ‘dune’ from the sloped side I want that visual slope to exert a physical effect on the object. As the object approaches the top of the slope it slows and if it slows enough it rolls back ‘down’. Conversely if it approaches from the wall side of the dune image it simply responds as with any other collision object.
Has anyone done this?