playMaker

Author Topic: how to get orientation of an object  (Read 962 times)

CoffeeOutlaw

  • Playmaker Newbie
  • *
  • Posts: 1
how to get orientation of an object
« on: July 26, 2016, 01:27:00 PM »
i am a super noob at playmaker and unity in general,  i am following some tutorials and making progress, but i am having a issue i am having trouble sorting out.  i have a cube that rolls, i need to keep track of the bottom of the cube so it starts bottom down, when it rols one spot 90 degrees , the bottom is now facing left,  one more roll it is facing up,  my end goal is to have it where when you push a button the gravity of the level changes to make the bottom of the cube affect the gravity direction, so you start flat if you roll the cube where the original bottom of the cube is facing up, you press a button and that direction becomes the gravity making the cube fly up and stick to the ceiling.