playMaker

Author Topic: Help, trying to rotate a wheel over time [SOLVED]  (Read 2103 times)

spiralKing

  • Junior Playmaker
  • **
  • Posts: 50
Help, trying to rotate a wheel over time [SOLVED]
« on: May 13, 2014, 08:49:27 PM »
I've tried the "iTween Rotate To" action but that requires a GameObject to be used as the "Rotate To" position

http://hutonggames.com/playmakerforum/index.php?action=dlattach;topic=7300.0;attach=4777;image

I've also tried the "Rotate" action which allows me to punch in the exact degrees I want it to rotate to but doesn't let me state how long it would take it to rotate to the desired position

http://hutonggames.com/playmakerforum/index.php?action=dlattach;topic=7300.0;attach=4779;image

Is there a way to get the rotation functionality of the "Rotate" action and the time control of the "iTween Rotate To" action so I can state the degrees I want it to rotate to and how long I wanted it to take to rotate to those degrees?
« Last Edit: May 25, 2014, 11:41:46 PM by spiralKing »

spiralKing

  • Junior Playmaker
  • **
  • Posts: 50
Re: Help, trying to rotate a wheel over time
« Reply #1 on: May 23, 2014, 06:25:39 PM »
Bump

TrentSterling

  • Junior Playmaker
  • **
  • Posts: 89
  • Someday I'll make games!
    • My Blog
Re: Help, trying to rotate a wheel over time
« Reply #2 on: May 24, 2014, 12:07:34 AM »

Use itween and use the vector rotation parameter. Specify the degrees you want with VectorXYZ
« Last Edit: May 24, 2014, 12:09:57 AM by TrentSterling »

spiralKing

  • Junior Playmaker
  • **
  • Posts: 50
Re: Help, trying to rotate a wheel over time
« Reply #3 on: May 25, 2014, 11:38:17 PM »
Thanks, it worked

I was drawing a blank ;D