Lockwheel code doesn't work correctly

Hi,

Can somebody help me fix the following problem. I want a door to open as soon as the lockwheel shows the correct code. Most of it works fine but the lock wheel will leave its original position if you click it (this really shows with more than 4 clicks on a wheel)
Here is the remixable cospace:

Thanks in advance.

Hi @rijbroli,

the one of the reasons of your problem is because the center of a group does not coincide with the center of cylinder.

One way to avoid such problems is to rotate the cylinder itself. In this case you should remove the group and attach all the text billboards to the cylinder. But this comes with downside that the click listener should be attached to billboards manually through get child block.

There is a Space with suggested item structure and CoBlocks example script.

1 Like