I was running a script, and I got this error message.
AttributeError: not a sequence type, expected a sequence of numbers size 3
Does anyone know what this means? I’m pretty sure It has something to do with obj.setPosition.
import GameLogic cont = GameLogic.getCurrentController() obj = cont.getOwner() pos = GameLogic.globalDict["playerPosition"] print pos obj.setPosition([pos)
globalDict[“playerPosition”] is equal to obj.getPosition from another script.