So recently I’ve been facing a strange problem. For somehow when assigning an object’s world position to a variable once using this:
if not "pos" in own: own["pos"] = own.worldPosition
It keeps updating own[“pos”] every frame. though it doesn’t do so when I assign a vector instead like this:
if not "pos" in own: own["pos"] = mathutils.Vector([0,0,0])
What’s happening wrong? is there any workaround to get the position only once eventually?