So, I’m wondering if there is a good way to move an object using global coordinates, not local movement in the game engine.
I have a joystick block bringing X,Y,Z into a python script (or that’s what I think I should do)
when i hit x-max on my controller, I want my object(let’s call it jim) to move all the way to the max X coordinate. (say 10)
Then , when I pull my controller back to the x-min, I want jim to move with my controller back to x min. Same for y and z.
Now, I think I could do this with three action blocks. each action block would reference a action where i moved and keyed my object at a max and min in that direction… and
I would simply use the actuator - action: property – and a game property like xpos - to define the frame I want to move the object to.
Then my python script would just need to turn my joystick input into a frame number to call in that action block.
Is this really the only way to do it, or the best way? I don’t want to over-complicate things.
If this works, I will have one of the coolest toys ever =)