i followed goran’s tutorial of how to make portals
after done following the tutorial,i press play,then an error message from the console sy this:
Python Script error - object ‘Portal_A’, controller ‘Python’:
Traceback (most recent call last):
File “\Portal.py”, line 58, in main
AttributeError: ‘KX_GameObject’ object has no attribue ‘main’
and i didnt do anything to the code,i wait for a second(because i dont know how to fix that attribute error),then a press play again,and something weird happens, the console didnt say any error,but the portal still doesnt work,why??