So, I wrote a thing that
- Goes through every object (for i in scene.objects) when the program starts, and .appends the world position of i onto a list if it has the game prop ‘reset’ (if ‘reset’ in i).
- Under certain circumstances (when I say so) it goes through every object again (for i in scene.objects) and sets its world position to the corresponding one in the list. (No objects are created/destroyed during runtime, so the order pretty straightforward)
However, I have a problem. The objects don’t move. When I print their world position, it’s where it should be - i.e moved - but the object, on screen, doesn’t move.
It gets even stranger - if I set the x,y, or z of any of the objects to be reset to some random value (float or int) they move just fine! Only when I get the value from the list do they not move.