I am making my STKM teleport wherever my mouse is clicked for no reason other than to improve my coding skills. I was testing it when all of a sudden the STKM just exploded out of existence. I used the sim.partProperty function to alter the x and y coordinates of the STKM instantaneously. However, it appears that the legs don't teleport with the STKM's head and the STKM just slingshot itself out of the map and into the abyss known as the void. How can I fix this?
You could freeze the STKM in place for some frames, so that its legs can catch up.