playMaker

Author Topic: New to playmaker, trying to make things spin  (Read 383 times)

Bailie

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
New to playmaker, trying to make things spin
« on: May 02, 2018, 05:20:12 PM »
This my code, and I just want to use it in VRC. I'm new to playmaker and I'm not figuring it out very well. All it does is spin things at a medium speed.

public class Rotator : MonoBehaviour {

   void Update () {
      transform.Rotate (new Vector3 (0, 30, 0) * Time.deltaTime);
   }
}

Bailie

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
Re: New to playmaker, trying to make things spin [solved]
« Reply #1 on: May 02, 2018, 05:36:44 PM »
I got it. It doesnt explicitly do float++. So I had to do per second, float add, set rotation