Floating and flying powersource

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • FTB will be shutting down this forum by the end of July. To participate in our community discussions, please join our Discord! https://ftb.team/discord

MinePlayer

New Member
Jul 29, 2019
19
0
0
For navigation it`s better to write a function that saves the frame machine position into a file, rather than building a gps tower everything so often. I did something like that for turtles and posted on the CC forums as "GPS-less movement", you can adapt it for a frame machine.
For collision, just put a turtle next to the machine, and before every movement by the machine, tell the turtle to move to the same direction. The turtle can detect if it has moved or not, since it returns true or false after each movement. After both the turtle and the machine have moved, calculate the distance between turtle and machine. If the turtle moved and the distance between turtle and machine is the same as before, both the machine and turtle have moved. If the turtle moved, but the distance between machine and turtle has increased, the machine is stuck. If the turtle has not moved, but the distance has increased, the machine moved and the turtle is stuck.
 

Abdiel

New Member
Jul 29, 2019
1,062
0
0
With a bit of effort you can also make a frame drive that emits a redstone signal after every succesful move. If you can build a frame drive (as opposed to copying someone else's build), it shouldn't be hard to figure it out. The difficult part (depends on how exactly your drive works) is making it so that it can back off when you hit an obstacle, and doesn't get stuck mid-move. Again depending on what your design is, this might or might not be an issue. I've never watched anyone else's video on frame drives, but the simplest designs I made all had problems with this.