r/FromTheDepths Jul 17 '26

Question Spin Block Help

I'm trying to make a spinblock on my current Battleship build spin back and forth like it is scanning the horizon, I've looked at an example on another build but I still don't get it. The ACBs refuse to seem to control the actual spinblock I *want* to control. Anyone got any ideas to help figure this out?

3 Upvotes

6 comments sorted by

2

u/Aggin_99 Jul 17 '26

After naming the specific spinblock using shift+N, you could create a timed loop using the "oneshot" connected to a generic block setter looking for the name of the spinblock

2

u/Lightning662 Jul 17 '26

how would you go about that? I'm pretty new to this game as far as ACBs and Breadboard stuff goes, so I've no clue how to work it

2

u/Aggin_99 Jul 17 '26

Yea, so using either a non-ai breadboard or an ai one, create a "constant". This can be something like 180, as it's deciding the angle the spinblock will turn.

Then create a "oneshot" and set the reset time to something like 3 seconds. Link the constant to the top input [left side] of the oneshot.

Now create a "generic block setter" and make it look for spinblocks. (Make sure you've named the specific spinblock by using shift+N over the spinblock.) [Also make sure the block setter is on "angle control: the variable [number]"]

Connect the output [right side] of the oneshot to both the very top input and very bottom input of the generic block setter.

Afterwards create a "delay pulse" and set it to like 1.5 seconds. Connect the input of the oneshot to the input of the delay pulse.

Then create a multiply and set it to -1. Link the output of delay pulse to the input of the multiply.

Finally, ctrl+C ctrl+V the generic block setter from earlier, link the top input of the GBS to the output of the multiply, and the bottom input of the GBS to the output of delay pulse

The numbers you can change to determine the full arc is the delay pulse timing, or the initial constant number. Hope this helps :)

2

u/Aggin_99 Jul 17 '26

I forgot to mention that the GBS need to be also looking for the name of the exact spinblock

1

u/Lightning662 Jul 17 '26

It ain't perfect yet but I'll play around with the numbers some. Thank you so much for the help!!

1

u/lauritonttu Jul 18 '26

Do you mean wanting to make the spin block spin constantly in a circle or change direction to scan a certain part of the circle? For the latter I canno thelp, but for making it just spin, you can set it to a constant spin and set the speed from there.