Nuclear Control 2

Nuclear Control 2

6M Downloads

OpenComputers can't completely rotate (Advanced) Info Panels

MyNameIsKodos opened this issue ยท 3 comments

commented

Rotating an info panel manually sets it to 56, according to OpenComputers, but the function to rotate it via OpenComputers only accepts a value of 1 through 16, thus only allowing for a small amount of rotation via computer vs doing it manually

commented

How does OpenComputers rotate things?

commented

First, you need to hook up an Info Panel via an OC Adapter like so:
Info Panel Component

Note how it's rotated all the way? I did that manually via the Info Panel's rotation settings tab.

Now, see here, how I've called getRotationHorizontally() which should return the value that the panel is currently rotated at:
getRotation

But if you look at the function info, it only accepts a value of 1-16, which means I can only rotate it the equivalent of two notches on the settings tab, and I can only rotate it in a positive manner, since it won't take a negative number for the rotation settings:
Screenshot 3

commented

Closing since it's been nearly 2 years with no comment/resolution