Added functionality for drawing paths and animating objects along them. LMB adds a node to the path,
while RMB spawns an object that is then animated along it (if the path consists of at least 2 nodes).