Bugfixes - multiple node impact

Added a forin loop to check which object is the one colliding.