Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help [SOLVED] Rotate entity fixed amount of degrees
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#5
RE: Rotate entity fixed amount of degrees

(03-28-2014, 03:04 PM)Reminiscity Wrote: I only manage to make the prop rotate constantly. I want it to rotate 120 degrees then stop. I guess I could calculate how long it takes for the prop to rotate 120 degrees then stop it but that doesn't seem very robust cuz if the calculations are off just a tiny bit then after several clicks by the player it will no longer work.

What you could do is just make it rotate and then add a timer that allows it to stop (and un-interactable if you want).

"Veni, vidi, vici."
"I came, I saw, I conquered."
03-28-2014, 04:26 PM
Find


Messages In This Thread
RE: Rotate entity fixed amount of degrees - by PutraenusAlivius - 03-28-2014, 04:26 PM



Users browsing this thread: 3 Guest(s)