Because in one line of my script for one of my older games I have this line of code that runs for one logic tic. when needed
And then in another line if I need to reset the position I do
own.position = GameLogic.startpos
This worked perfectly in 2.49, but in 2.5 the position stopped getting reset, I tested to see if it was still working by replacing the line that resets the position to something like
own.position = (0,10, -10)
And it sets the object’s position to the specified value like one would expect.
It seems to me that setting a position to a stored position in something like a GameLogic variable isn’t working if you do things in the same way as in 2.49, so I wonder if there’s a different way you have to do it in 2.5. It seems clear to me that you can’t just set the position to a stored one like in a GameLogic variable because I even tried
own.position = (0, 10, GameLogic.startpos)
And it set the object’s position like it should for the X and Y axis, but not for the Z-axis, so is there a different method of changing an object’s position to a stored position like one in a GameLogic variable in 2.5 or what?