Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 645

Broken Rotor script...

$
0
0
Hi everyone,

I've managed to write this script below which works.... once. the idea is when a button is pressed the rotor moves in that direction by 1 degree from its last position.

Currently the first time you run the block it will set the min and max limits like it should and changes the velocity to positive. For some reason though, the second, third, fourth time the block is run, nothing changes. I'm stumped any help would be greatly appreciated...

Code:
public Program()

{


}...
Broken Rotor script...

Viewing all articles
Browse latest Browse all 645

Trending Articles