Books on a shelf AN question
This is not an answer but just an idea.
I'm a newbie in blender, but in cinema 4d i put a collider into the instanced object, so the instanced object it's pushed away from the object near it.