Hi all.
Im trying to start up an old, and I mean old, idea I had with Blender. I
m slowly getting my head back into python syntax, been using C# for an age now, but I`m stuck on a possibly daft one…
I`m saving the initial positions of a few objects and was wanting to recall them by the click of a button.
I`ve imported the bge and then logic as l.
Then was hoping to just do,
initPlayerPosition = l.getCurrentScene().objects[‘Player’].position
But, when I set currPlayerPosition = initPlayerPosition it seems to call the whole l.getScene()… process.
So even though currPlayerPosition is set equal to initPlayerPosition as I want, the initPlayerPosition is being changed as I do it?!!
I just want the Vector3 position?
Hope I`ve explained myself ok and given enough info.
Thanks in advance hopefully.
-Daz.
ohh, Im using a Module with def initPlayerPos(): I
m just getting used to how they work. Im liking them so far. Thanks Monster, I
ve read alot of your posts.