I recently watched a tutorial about the unity engine and was fascinated by the simple way of dealing with the objects. Every element in the scene is treated the same and gets its individual functionality by attaching components.
Here I have created a small example where a box is subjected to gravitation and can be steered to the left or right using the a and d keys. The user input is centralised. Objects that are to react to keyboard input simply access this central location.
So simple. I’m thrilled.
PS: Here is the tutorial (german) I was inspired.