Got movement working using shared pointers to create move left and right varibles, which are taken from the player's boundingbox's centre position. The X coordinate is the found using the Vector3 method getX() and is then changed with (+1 or -1) to move left and right.