Added inanimate objects and fixed collision.