I am trying to develop a simple game in which the character is a cube and not a classic humanoid. I would like this cube to deform when pressing a button.
I do not know how to proceed. Should a built a skeleton or make an animation in blender or anything else???
The issue you’re having could probably be because the PIVOT POINT of the character is in the middle of the the mesh. So, if you set the Z scale to be 1.5, you get 1.5Z in one direction and 1.5Z in the other.
I would use the MODELING MODE to move the pivot point to the bottom of the cube so all Z transformation happens in one direction.