The Daily Click ::. Forums ::. Klik Coding Help ::. Angle value
 

Post Reply  Post Oekaki 
 

Posted By Message

0ko



Registered
  11/01/2009
Points
  318
27th August, 2009 at 23:39:07 -

Okay you know how an objects angle always stays within 360?
like, even if you add say...1050 to it.

now, let's say I can't use that objects angle or any other objects angle, I can only use an alterable value.

what is the proper way of making an alterable value that behaves the same as the angle value?
And no, I don't mean set alterable value A to angle of object.

 
n/a

nim



Registered
  17/05/2002
Points
  7234
28th August, 2009 at 02:14:49 -

Always : Set counter to value( "Counter" ) mod 360

Put that event below any others that modify the counter's value. And obviously replace references to "counter" with an alterable value or whatever you're using.

 
//

0ko



Registered
  11/01/2009
Points
  318
28th August, 2009 at 03:18:01 -

wow, thank you very much!

 
n/a
   

Post Reply



 



Advertisement

Worth A Click