Tuesday, April 5, 2016

c# - How can I "squeeze" a game object when it is pressed between two others?


I am trying to "squeeze" a game object when it's pressed between two other objects (e.g., "squeezer 1" and "squeezer 2," below) that continue to move towards eachother.


I wish to reduce width of the object so that total area of the game object is maintained while still being between the two squeezers.


enter image description here


How can I achieve this effect?




No comments:

Post a Comment

Simple past, Present perfect Past perfect

Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...