Detects touching between any two objects
Add deadliness to objects
left & right touch detection & hardness settings

Two hard objects cannot pass through each other left or right

The less hard object will be moved to avoid collision (e.g. player will
stop moving through harder object, or less hard object could be pushed
by player)