playMaker

Author Topic: Rotate action not working [SOLVED]  (Read 1226 times)

chumbledorf

  • Playmaker Newbie
  • *
  • Posts: 2
Rotate action not working [SOLVED]
« on: January 02, 2019, 11:57:00 PM »
    I just began using Playmaker and was watching the Hutong Games Youtube tutorial series. I was on the fifth video, regarding breakable objects, when I ran into an issue with rotating the coin. I added an FSM to the coin, added the Rotate action, set the Y angle to 360 and checked both "Per Second" and "Every Frame", just like is done in the video, but nothing happens with the coin when I hit play. I've tried creating new scenes and recreating the FSM on several different objects, but I can't get anything to rotate. I was able to add other actions, like Move Towards, that worked, but not Rotate. Any help would be greatly appreciated.
« Last Edit: January 05, 2019, 04:35:27 PM by chumbledorf »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Rotate action not working
« Reply #1 on: January 03, 2019, 02:25:04 AM »
Hi.
on the image it seems that you set a "variable name" '360' , not a value.

on the bottom of the window you can see a checkbox "Debug"

Turn this on to see what is inside the variable, you will probably see a 0

if so go to the variable tab, select the 360 (you can rename if you wish)
the set the value you wish to use.

Or on the Z Angle press on the = (on the right side) and set the value you wish to use.

chumbledorf

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Rotate action not working
« Reply #2 on: January 05, 2019, 04:32:22 PM »
Oh wow, I didn't notice that. Haha thank you so much djaydino!