playMaker

Author Topic: rotate object around axis from another object  (Read 1273 times)

user42

  • Playmaker Newbie
  • *
  • Posts: 2
rotate object around axis from another object
« on: February 05, 2015, 04:11:25 AM »
Hi,
i made a world inside a sphere. First i want to use a centric gravity system, but this was to resources hungry. So i decide to let the player just jump, rotate  and rotate the world around him to let him walk.

So i made an FSM which check the direktion the player looks on the y axis.
If i press move the world should rotate in the negative direction the player looks.
For that i made a little helper in world 0,0,0 which gets its y rotation from the player.
But how to rotate the world around the helpers x axis...


Has someone an idea?


Regrads Elin