This is the cube with 6 nodes parented to it. This code works. The cube snaps into place.