i am very new in Blender game engine.
i created a python code that i’d like to add in game engine.
So i started to study how to connect python code with game engine.
Before i work with my python code, i started with a simple example from ‘blender game kit’ gook.
When i tried following simple example code:
import GameLogic controller = GameLogic.getCurrentController() owner = controller.getOwner() print owner.getPosition()
it gives me import error: “No module named GameLogic”
So i typed “import GameLogic” in the python console it gives me the same error.
Can somebody help me with this?
I can’t even get started anything because of that.
thanks in advance.