Introducing Minecrafts Precision TnT Cannon

Поділитися
Вставка
  • Опубліковано 29 лис 2024
  • Ігри

КОМЕНТАРІ • 937

  • @elijahmitchell-hopmeier182
    @elijahmitchell-hopmeier182 Рік тому +3646

    This is what 7 year old me dreamed about when I first started playing the game and a decade later cubicmetre is making it a reality in vanilla. This is actual Minecraft rocket physics

    • @thermobarickitten1062
      @thermobarickitten1062 Рік тому +15

      same bro

    • @nuirejuvini9951
      @nuirejuvini9951 Рік тому +41

      BRO SAMEEE, I used to believe that I could fly up to the moon in Minecraft WAAAY back then. I know that's not really possible now but wow.

    • @thermobarickitten1062
      @thermobarickitten1062 Рік тому +53

      @@nuirejuvini9951 my guy got clickbaited by glaticraft lmao

    • @Brejdu
      @Brejdu Рік тому +18

      @@nuirejuvini9951 Same i never really thought there was a height limit to the game

    • @tongxinfenn
      @tongxinfenn Рік тому +2

      @@weirdyoutubechannels dawg wtf are your most popular videos bro

  • @foxwhite25
    @foxwhite25 Рік тому +2120

    Using linear algebra and calculus to fire a tnt cannon, nice

    • @FishyTheKobold
      @FishyTheKobold Рік тому +234

      "What am I going to use math for in life?"
      The answer? Making really cool tnt cannons

    • @Sextusheap
      @Sextusheap Рік тому +127

      @@FishyTheKobold The kids in school asking this question sadly dont understand the power that comes with understanding math. Understanding this should be first priority instead of forcing homework on them.

    • @hichewies
      @hichewies Рік тому +16

      @@Sextusheap exactly. Im still in geometry, but I'm already learning precalculus and trigenometry in 8th grade

    • @_marshP
      @_marshP Рік тому +26

      @@Sextusheap Math is insanely cool
      ok well not really its very boring sometimes, but the places and ways it can be applied are very cool
      from construction to destruction, from counting to killing, from imaginary numbers to integers, math can get very cool

    • @user-vi3fy2cc9z
      @user-vi3fy2cc9z Рік тому +22

      @@_marshP schools make math boring

  • @dementionalpotato
    @dementionalpotato Рік тому +2280

    I guess the next logical step would be using 2 of these cannons on different fuse timings to redirect the tnt after it gets to a certain point.

    • @user-pw5do6tu7i
      @user-pw5do6tu7i Рік тому +278

      and then after that using 3 cannons lol. Imagine shooting something out, then up, then to the left around something lol

    • @AnteUjcic
      @AnteUjcic Рік тому +100

      @@user-pw5do6tu7i search cannoning triangles yeah yxz control

    • @windowsmoke
      @windowsmoke Рік тому

      Dude could you imagine sitting in your obsidian-walled fortress and suddenly you look up and there's a piece of TNT exploding to push another one down super fast and you die

    • @mr.grantelkade4073
      @mr.grantelkade4073 Рік тому +32

      @@user-pw5do6tu7i I think if you would use another redirect tnt for the redirect tnt it would be even more flexible

    • @misandre
      @misandre Рік тому +73

      @@user-pw5do6tu7i we might be limited by the TNT fuse time

  • @ethanplayz6233
    @ethanplayz6233 Рік тому +1896

    we are now 1 step closer to building real life militaries in minecraft

    • @leschatssuperstars1741
      @leschatssuperstars1741 Рік тому +73

      Next thing you know there will be WW2 level weapons made with redstone in minecraft

    • @ethanplayz6233
      @ethanplayz6233 Рік тому +31

      @@leschatssuperstars1741 we already have that, even better, we have icbms

    • @leschatssuperstars1741
      @leschatssuperstars1741 Рік тому +10

      @@ethanplayz6233 Wait. We have ICBMS in minecraft? made in vanilla with just redstone?

    • @ethanplayz6233
      @ethanplayz6233 Рік тому +41

      @@leschatssuperstars1741 yes, there are existing designs on UA-cam and my friend, malorem, is making a video on his new long range icbm

    • @leschatssuperstars1741
      @leschatssuperstars1741 Рік тому +3

      @@ethanplayz6233 send me the link when it's out lmao

  • @fjskfkskfkdkd8790
    @fjskfkskfkdkd8790 Рік тому +719

    Reminds me of WW1 and WW2 artillery, where they had some tables that had written on them settings and coordinates for operating the machinery, this was how they did it before the use of computers

    • @oblivion_2852
      @oblivion_2852 Рік тому +66

      Precomputing the math with tables. Hell yeah

    • @abdillahahmad7025
      @abdillahahmad7025 Рік тому +47

      This, I'm imagining this as the upgrade from Napoleonic artillery to WW1 artillery

    • @Ailtir
      @Ailtir Рік тому +23

      Anyone interested in this should look at the mechanical firing computers used in battleships, some really well formatted videos on youtube.

    • @SteveIsHavingMC
      @SteveIsHavingMC Рік тому +8

      they still use these, since not all artillery has inbuilt ballistics computers and the angle they use to hit the target is called a firing solution

    • @marysartr
      @marysartr Рік тому

      @@SteveIsHavingMC well no, look at Russian or American artillery, if the recon is good then only coordinates are required

  • @xb70valkyriech
    @xb70valkyriech Рік тому +324

    The most shocking thing in this video is that you can afford Matlab and can actually code in it too

    • @oblivion_2852
      @oblivion_2852 Рік тому +66

      This looks like a really great university project tbh

    • @YounesLayachi
      @YounesLayachi Рік тому +23

      Ew, MATLAB... You can do better, cubicmetre :(

    • @ethanmay4385
      @ethanmay4385 Рік тому +34

      The online version is actually free to use (with quite a few restrictions) if it's only for personal use

    • @xb70valkyriech
      @xb70valkyriech Рік тому +13

      @@ethanmay4385 that's actually pretty useful to know, thanks

    • @YounesLayachi
      @YounesLayachi Рік тому +7

      @Dwight A. Spencer I was thinking GNU Octave

  • @ATOM-vv3xu
    @ATOM-vv3xu Рік тому +421

    actually finding the right setting for a cannon becomes very intuitive after you shot it for some hours

    • @cubicmetre
      @cubicmetre  Рік тому +196

      I think it would be possible to operate the cannon in full vanilla using intuition alone. And the mod is actually a great way to start. I'd imagine if you needed to use the cannon in a setting where you were not allowed the mod, you could train using the mod in singleplayer then transfer this knowledge to online play. The way I see it, is that the cannon gives a good suggestion for a setting, then you can tweak that setting to get slight variations of the firing option. As you learn to tweak more and more you find that you get a feel for what settings hit approximately which positions.

    • @Frappe3621
      @Frappe3621 Рік тому +9

      @@cubicmetre Is your skin Saxton Hale? Lol

    • @secariel
      @secariel Рік тому +43

      @@cubicmetre even if it was hard with intuition, I think using a sand block as a sighting round would make it perfectly usable in vanilla

    • @kaboomgaming4255
      @kaboomgaming4255 Рік тому +9

      @@secariel you're a genius!

    • @ImNotQualifiedToSayThisBut
      @ImNotQualifiedToSayThisBut Рік тому

      @@secariel does sand not get destroyed?

  • @Zuchii
    @Zuchii Рік тому +222

    Ancient Rome : Bring me the cannon
    Cubicmetre : Let me introduce you to Minecrafts Smart Artillery..

    • @weirdyoutubechannels
      @weirdyoutubechannels Рік тому

      see my banner for cookies ?!?!?!?!!

    • @paulkanja
      @paulkanja Рік тому

      Technically a cannon, not artillery: artillery is a subtype of cannon has (at least) two phases and targets the top of a target (so the tnt flies up above the height of the target, then a portion of the tnt explodes causing the rest to change trajectory and aim downward) as an aside, an even more specialised artillery canon is an airstrike: the tnt is redirected straight down when directly above the target... pretty wonderful field when it comes to tnt weapons

    • @laff__8821
      @laff__8821 Рік тому +4

      Cannons in ancient rome?

  • @CraftyMasterman
    @CraftyMasterman Рік тому +186

    For the asymmetry issue, couldn't you add a second payload option that comes from the opposite side? Then make a 4th setting that tells you whether to fire the left or right payload

    • @rizalardiansyah4486
      @rizalardiansyah4486 Рік тому +21

      Yes, there are improvements that could be done on cubicmeter's design. It's just a matter of time until we'll see some super canon!

    • @chickencurry69420
      @chickencurry69420 Рік тому +2

      it would be cool to have a whole row of them with slight delay..

    • @doge229
      @doge229 Рік тому +2

      Was gonna say having a second mirrored cannon, but I like this idea a lot more!

  • @AndrewBrownK
    @AndrewBrownK Рік тому +528

    Can you make sentry towers for a castle that automatically aim and fire tnt at the outside world using an underground skulk sensor array buffered with a layer of obsidian?

    • @cubicmetre
      @cubicmetre  Рік тому +445

      I think in theory that sounds really cool, but in practice it would be insanely complicated with many points of failure

    • @PyroZero_
      @PyroZero_ Рік тому +144

      @@cubicmetre if there was anyone crazy enough to try it would have to be you right?

    • @vibaj16
      @vibaj16 Рік тому +76

      in that case, the redstone itself would have to do all that complicated math, or it would have to be hardcoded for every single point. Both would be extremely difficult

    • @alicorn3924
      @alicorn3924 Рік тому +86

      @@vibaj16 it doesn't have to be every block, but then again at that point, might as well use a minefield instead

    • @nastykerb34
      @nastykerb34 Рік тому +42

      ​@@alicorn392410 /10 for common sense

  • @zSalos
    @zSalos Рік тому +7

    I like it very much that the rest of the world is now starting to look at tnt. There is the wargear scene, which is currently completely German, where people are in teams trying to build the best cannons together and then build them into so-called wargears. "Wargears" are fighting machines equipped with cannons and shield technology, sometimes even automatic cannons, which are then used to compete against other teams in tournaments. There is a fixed set of rules to guarantee fairness. For example, any block that has a higher tnt resistance than endstone is forbidden, and dispensers may not be used for tnt. In tournaments, the redstone blocks are replaced by endstone for every spectator except for the own team to prevent the theft of cannons. It's really cool every year in the "WargearLiga" to see what the teams have built, sometimes thousands of hours on their cannons, and to see which one wins best. There are currently 2 servers in the Wargear scene. Although the Wargear scene has existed for over 8 years, it unfortunately only has around 200 active players to date, I think because it is simply too difficult and complicated for most. If anyone has any questions just write or send me a message. Have fun building 👍
    By the way, you play completely in Vanilla without mods.

  • @kikugies
    @kikugies Рік тому +115

    And then he said "Its simply calculus" and started morbin'

  • @WarTechWarGears
    @WarTechWarGears Рік тому +38

    Very interesting! The important step now is to combine this technique of controlling where shots will land with the Railgun presented in your last Video and you have got yourself what WarGear players would call a "Schwenk-Stich" or "Shifting Stab-Cannon". The possibilities truely are endless.

    • @paulkanja
      @paulkanja Рік тому +2

      Even without the stab element, this would make a very good shift Cannon,, however, auto loading this will be a pain

    • @GodOfChaos_HeXa
      @GodOfChaos_HeXa 8 місяців тому

      nice hier wen aus der wargers szene zu finden xD

  • @SALTrobot
    @SALTrobot Рік тому +9

    Technical minecraft is amazing, also love the idea of having loads of these side by side with 3 players in charge of each cannon yelling numbers, setting values and firing. The implications for the technology will surely make the imaginary minecraft wars more bloody.

  • @5wet_
    @5wet_ Рік тому +5

    Honestly this was my best present for my birthday so far

  • @heff0d468
    @heff0d468 Рік тому +41

    I'd love to see a similar concept used to create a very simple world eater.

    • @cubicmetre
      @cubicmetre  Рік тому +32

      You would need a lot more TnT to get the payload travelling fast enough to make a render distance perimeter. Consider that the field of fire would need to be enormous to be able to perfectly cut out a square of that size. It would not be a very simple world eater.

    • @heff0d468
      @heff0d468 Рік тому +6

      Couldn't you build it very high up and use duping. And it'd be possible to make circular perimeters very easily.

    • @heff0d468
      @heff0d468 Рік тому +3

      @@cubicmetre or if you could get it to fly up to 128 blocks in so directions under the afk spot, it'd be pretty close to a "perfect" perimeter. Creating a semicircle below the player.

    • @SharlosRevenkai
      @SharlosRevenkai Рік тому +3

      @@cubicmetre perhaps having four, one per edge might still be a lot easier than the usual multi-step flying machines?

  • @james14294
    @james14294 Рік тому +16

    If you combine this with what you accidentally discovered making your railgun, when it bore a perpendicular hole, it could expand your aiming even more. Imagine being able to precisely aim that kind of railgun shot blasting a long hole through things around corners

    • @nastykerb34
      @nastykerb34 Рік тому +6

      cubic metere is now hired by the us army bcz he is a genius

    • @zSalos
      @zSalos Рік тому +3

      Thats exactly what the WarGear Scene is doing, wargears is a competitive game mode where you try to build the best TNT Cannon and win the "fightnight" in the end with your team. It's just vanilla and it's crazy what a few players can build. But the scene is only German

    • @raoulduke7668
      @raoulduke7668 Рік тому +1

      @@zSalos yeah but that's not a problem, because most of the guys can speak perfect english and they are really welcoming and helpful

    • @paulkanja
      @paulkanja Рік тому

      @@zSalos not really, i barely know german and i'm still there: it's easier to start out if you're german tho, because research and collab is more accessible

  • @eclogite
    @eclogite Рік тому +1

    This brings Minecraft artillery even closer to how real life fire control works

  • @Mark-kc2ke
    @Mark-kc2ke Рік тому +4

    This is such a cool project. It is an essence of Minecraft. Love this game, and never underestimate its possibilities. Never underestimate the pure genius of Minecrafters. Because then instead of creepers you'll be scared of smart artillery.

  • @Per_Ragnar
    @Per_Ragnar Рік тому +2

    This brings back memories from our insane faction cannons, custom built to each base.

  • @_spey9860
    @_spey9860 Рік тому +7

    preciate the showcase cubic! crazy invention as always

  • @kopinoroti
    @kopinoroti Рік тому +33

    Wow! At first it's precision timing of TNT for a straight trajectory, and now it's becoming 3 dimensional!

  • @Amarite
    @Amarite Рік тому +122

    If you had two of these cannons would it be possible to have the explosion of the first tnt propel the second tnt around corners or behind walls?
    Edit: Cannons like this already exist but it would be cool to see Cubic or someone operationalise the concept into a cannon that has adjustable trajectories.

    • @LunizIsGlacey
      @LunizIsGlacey Рік тому +31

      Absolutely theoretically possible! Probably quite difficult though.

    • @adamofblastworks1517
      @adamofblastworks1517 Рік тому +5

      I like the way you think.

    • @Unace1
      @Unace1 Рік тому +14

      It is possible, but both cannons would need to have a link of some sort coupled with a more complicated program, since the timing and positioning of both payloads would have to be incredibly precise

    • @abdillahahmad7025
      @abdillahahmad7025 Рік тому +4

      That would enable indirect fire (e.g. shooting something right behind a wall)

    • @1224chrisng
      @1224chrisng Рік тому +3

      I think Mumbo Jumbo built a round-corner cannon a few years ago, but that was stuck on a straight line

  • @AnimeNae
    @AnimeNae Рік тому +1

    Cubicmetre taking "This will be useful in later in life" to a whole another level.

  • @numero7mojeangering
    @numero7mojeangering Рік тому +32

    Do you think you can aim a tnt towards another tnt mid air to change it's trajectory? Like you fire a bunch for tnt that actually contains the payload and propellent.

    • @cubicmetre
      @cubicmetre  Рік тому +31

      In my mind atleast I can imagine a client mod that can track nearby entities and extrapolate their positions based on their motion and in theory set the cannon and fire on a moving target all autonomously. However you are always limited to the delay from the redstone and TnT fuse time. This is why artillery are usually restricted to static emplacements because it's really hard to hit a moving target if there is a lot of time between acquiring the target and being able to hit it.

    • @paulkanja
      @paulkanja Рік тому +2

      @@cubicmetre Trace mod? also blockless redirects do exist (say, why don't you make a new series where you review basic wargears weapons -- stuff like cannons, railguns, artillery, airsrikes, etc)

  • @LordAJ12345
    @LordAJ12345 Рік тому +1

    This is very elegant. Three timers translated into xyz coordinates through a mix of observation and calculation, no obscure tricks. I especially like that all calculations (except for calculating the distances) only need to be performed once, as the input values are discrete. This makes using it simple even without the mod.

  • @greenstonegecko
    @greenstonegecko Рік тому +15

    Loved the quote by Sun Tzu!
    Fits so well considering you're standing next to an aimable sentry gun.
    PS: When guitar solo?

  • @devynwhite4265
    @devynwhite4265 Рік тому +2

    Just ran across this channel today, love it so much. I always loved redstone videos, but much more the technical aspect of things versus just tutorials and such. Thanks cubic!

  • @rcjd7834
    @rcjd7834 Рік тому +3

    Now I want to see a multi-blast-chamber design that uses one cannon and several independent item collection basins for simultaneous but separate operations. Running a tree farm, a cobble farm, and a concrete blaster at once from one nucleation point would be really cool assuming you could systematically automate repeated fire and timing sets

  • @daviddickson3600
    @daviddickson3600 Рік тому +1

    this is the video that made me subscribe. As someone currently studying engineering, seeing the implementation of math and matlab for minecraft was quite interesting.

  • @zedfalcon6972
    @zedfalcon6972 Рік тому +8

    truly a genius concept. insane execution

  • @shadowwalker0104
    @shadowwalker0104 Рік тому +2

    Every time I watch your videos I learn something new about Minecraft. Keep up the good work!

  • @thomasmccarter7926
    @thomasmccarter7926 Рік тому +8

    I think a design like this could really benefit from tnt minecarts as they explode on impact, removing the fuse limitation which could expand the range of the cannon by quite a lot.

    • @Hulijingjinx
      @Hulijingjinx Рік тому

      Intresting. Imma build it using that

    • @Wyi-the-rogue
      @Wyi-the-rogue 4 місяці тому

      @@Hulijingjinx how did it go?

  • @shreyjain3197
    @shreyjain3197 Рік тому +1

    Me: plays minecraft to avoid studying maths
    cubicmetre: brings maths to minecraft

  • @cainy
    @cainy Рік тому +25

    What if you had a payload on either side of the water stream and you could choose from which side to fire for more control

  • @_wetmath_
    @_wetmath_ Рік тому +1

    this cannon is already so cool, yet it is just a proof of concept. i can't wait to see further design changes and optimisations made to improve this cannon type!

  • @mooing_cowmilk
    @mooing_cowmilk Рік тому +79

    Since your working with projectiles, could you design an arrow launcher to kill the dragon upon entering the end? Dragon always spawns at same coords and the design could be useful for speedrunning to elimate all end RNG (faster then 0 cycle or waiting for perch)

    • @ghostly9835
      @ghostly9835 Рік тому +17

      The problem is if the end spawn is under endstone.

    • @JustACuteDoggo
      @JustACuteDoggo Рік тому +8

      @@ghostly9835 i think mooing_cowmilk might know just a liiiitle bit about how end generation works... :>
      but srsly mr cowmilk what r u envisioning? like reset spawn in stronghold, enter end, build the setup, die at perfect moment while igniting tnt, re-enter end and insta kill dragon upon it teleporting? cos if so, THAT IS FRICKIN AWESOME!!! (and prolly a very good timesave if it would be viable)

    • @anonymous-rb2sr
      @anonymous-rb2sr Рік тому +4

      @@ghostly9835 isn't the end platform literally always blocked by line of sight by an obsidian pillar from where the dragon is? (I assume he spawns above the portal at the center)
      Also how would you not die to your own arrow when going into the portal, does the end generate when the portal is lit or when the player crosses for the first time? Likely the latter, so you would both spawn in the same position and the arrow would be colliding with your hitbox during it's first tick in the end, I can't see that going well either

    • @lygencore
      @lygencore Рік тому +6

      If this is even feasible, it is not worth it, because it means you need to look for redstone and other components (also more iron) and a whole lot of tnt to get enough strength in the arrow, which also means you need to begin your run in a desert and hope to find more than 1 desert temple, plus you need a village right next to it to get the iron.
      What I mean is that from whatever materials is build the arrow cannon, getting them would take a lot more time than waiting for a perch (for one cycle)

    • @anonymous-rb2sr
      @anonymous-rb2sr Рік тому +5

      wait I hadn't computed you were talking about this for speedrunning, wth? xD

  • @Nimblo-py4zd
    @Nimblo-py4zd Рік тому

    This is impressive. Also the SunTzu interaction was funny as hell 😂

  • @HenryKogakumichi
    @HenryKogakumichi Рік тому +4

    Ah yes, Sun Tzu, he truly engineered how to think during a war.

  • @AJ-Palermo
    @AJ-Palermo Рік тому +1

    Imagine the amazing(ly destructive) things we could make by combining this with Create Aeronautics airships!

  • @Star-pe3su
    @Star-pe3su Рік тому +11

    This is absolutely amazing, now for the real question. Could this be combined with the railgun from previous video?

    • @kaltenstein7718
      @kaltenstein7718 Рік тому

      absolutely, Wargear players do it on a regular basis

    • @paulkanja
      @paulkanja Рік тому

      @@kaltenstein7718 Shifts don't go too well with stabs tho

    • @tacticalassaultanteater9678
      @tacticalassaultanteater9678 Рік тому

      To some extent probably, but the idea behind the railgun was perfectly aligned TNT fuses, which would lose a degree of freedom.

  • @siderminerkgl8193
    @siderminerkgl8193 Рік тому

    You know you found the technical side of minecraft when the guy brings out matlab plots xD
    Nice video!

  • @ToxRIPy
    @ToxRIPy Рік тому +4

    Another video that I can't understand but still watches cuz its cool

    • @Andrey_Gysev
      @Andrey_Gysev Рік тому +1

      But its just a school math and a little of physics.

    • @ToxRIPy
      @ToxRIPy Рік тому

      @@Andrey_Gysev yeh its "just a school math" ...

    • @nuirejuvini9951
      @nuirejuvini9951 Рік тому +3

      @@Andrey_Gysev It's more than how you phrased it, I'm sure you know their importance in the real world and I know I'm being REALLY hypocritical by saying this but the 'school math' and 'physics' here aren't just a 'just'. Specifically referring to the calculus and linear algebra used in this video, the two form a foundation for some really high-level mathematics that are used in a lot, and I mean A LOT of scientific and engineering disciplines. It's not something so simple to refer to as 'just a school math' and 'a little of physics'.

    • @Andrey_Gysev
      @Andrey_Gysev Рік тому +1

      @@nuirejuvini9951 Man, its just a 10th and 11th grade math.

  • @zhabiboss
    @zhabiboss Рік тому

    So what I am seeing is that this is a masterpiece of redstone technologies, that is also a dream of every kid that played Minecraft 10 years ago?

  • @Agent_Matt_6
    @Agent_Matt_6 Рік тому +9

    I feel like if someone uses this a lot, at some point they could eyeball the numbers needed to hit targets

  • @notoriousriot250
    @notoriousriot250 3 місяці тому

    Stuff like this makes me relove dynamics, kinematics and calculus.

  • @lamegrape
    @lamegrape Рік тому +12

    dont say it... DONT SAY IT...
    guess you can say its a...
    smartillery.

  • @omnitroph1501
    @omnitroph1501 Рік тому

    12:24 I completely understand, and it made perfect sense to me even without explanation. However... this sentence is extraordinary.
    "It's actually surprisingly simple."

  • @icyscream355
    @icyscream355 Рік тому +4

    Wake up babe, new Minecraft warfare just dropped

  • @dschaegkarthur1093
    @dschaegkarthur1093 Рік тому

    Amazing! As a maths student and Minecraft player this is the best video I have seen in a while

  • @JohnHadish
    @JohnHadish Рік тому +5

    News headline next week: "WaveTech server approves Ukraine military funding package of 37 MSAs (Minecraft Smart Artillery)"

    • @cubicmetre
      @cubicmetre  Рік тому +1

      Somehow I don't think 200m of range for an artillery is gona cut it for modern combined arms warfare

  • @JohnDoe-cx6zd
    @JohnDoe-cx6zd Рік тому

    This is the first time i see Matlab being actually useful, and I had a whole semester of it

  • @Heyght
    @Heyght Рік тому +3

    Would it be viable to program it to blow up an area?

  • @MberEnder
    @MberEnder Рік тому +1

    You are the only person in history to ever say "this is simply calculus."

  • @EnderMega
    @EnderMega Рік тому

    I so happy to see cannon beeing bring back in 2023 and with SO MUCH COOL MATH, nice job mate!!!

  • @NucleAri
    @NucleAri Рік тому

    Yeah, I was trying for years to build something like this. But not being a big Minecraft person, I just couldn’t get the timing right beyond a handful of horizontal and vertical presets that needed different timing to reach the same distance.
    I never once thought about using water to alter the angles, goddamn engineering genius.
    The math isn’t that hard if you know what you’re doing, but knowing what you’re doing is easier said than done. Still, even without calculus, it should be doable for someone who finished high school. Although that could be my years of crying over intermediate level calculus problems talking. So your mileage may vary.
    The coding and modeling is genius tier though, MatLab is pretty easy, but that’s a lot of complicated steps to make work explained in an incredibly straightforward manner.
    Thank you so much! This is a dream come true for me!

  • @proxima8574
    @proxima8574 Рік тому +1

    PLEASE just have a look at minecraft Wargears....
    It's a german minecraft community that spezialized on crazy precise and strong tnt canons way more advanced than you could imagine. We then throw them into big nicely designed cubes of endstone basically, as they have a high blast resistance, and set them up to fight each other on a Server which I don't want to advertise now but if you want to know just search it up.
    There's so much more to it like automatic canons that can shoot every tick(btw dispenser primed tnt is forbidden) and a lot more like defensive mechanisms, tactics in the fight etc. etc.

  • @darth_dan8886
    @darth_dan8886 Рік тому

    This is beautiful.
    Thank you for sharing all of these formulas.
    I recognize now how I could potentially utilise this to create a longer range cannon that would still have an adjustable field of fire.

  • @stephen_2091
    @stephen_2091 Рік тому

    Who knew this would be the beggining of a journey that lead to a TNT nuke, insane!

  • @Unace1
    @Unace1 Рік тому +2

    It is also possible to have a second cannon that fires a payload which acts as a secondary propellant allowing the cannon to target places that classic trajectories would not reach.
    For example, to hit much further objects using the same maximum charge, we can have a cannon that fires a payload meant to explode mid-air (the secondary charge), and another that fires a payload with a similar trajectory but a higher time of flight that would cause the payload to move downwards rapidly upon detonation of the secondary charge.

    • @nastykerb34
      @nastykerb34 Рік тому

      or a doube tnt jump but by a machine

  • @aze4308
    @aze4308 Рік тому +1

    “if you’re not sure what i’m talking about, this is simply calculus!”

  • @xToTaLBoReDoMx
    @xToTaLBoReDoMx Рік тому +1

    Now we just need an academic journal of applied math in Minecraft for you to publish this to

  • @box6225
    @box6225 Рік тому

    This has got to be one of the coolest things I've ever seen

  • @pinkbaron3602
    @pinkbaron3602 Рік тому

    welcome to the world of tnt cannons cubicmetre
    i hope you stay for a while

  • @eliklappenbach2426
    @eliklappenbach2426 Рік тому

    A small but extreme smart machine. Never thought I would see calculus put to work to solve problems in Minecraft

  • @Varrick2
    @Varrick2 Рік тому

    Seeing this contraption is very cool, I once attempted to create a tnt cannon with variable range and direction, I managed to get 12 "range" options that could be combined with different block heights for the tnt payload giving me enough customization for my needs.

  • @Russet_Mantle
    @Russet_Mantle Рік тому +1

    "like this heavy caliber stationary smart TNT artillery designed by me, built by me"

  • @elijah204.
    @elijah204. Рік тому

    I love how you gave us the tools to improve your design

  • @nartuz5016
    @nartuz5016 Рік тому

    You got my respect for using Saxton Hale's legs and torso + Engineer's quote, fellow TF2 player

  • @chtechindustries4174
    @chtechindustries4174 Рік тому

    Nice! Here’s an idea for an improvement: make the timer re-usable. This timer moves the items like it does now, but then, after firing, moves the items back into the timers, like a self-flipping hourglass!
    The beauty of this is that, if you are targeting the same spot; you don’t need to make any changes. No re-stocking the timers! Subtle changes are just subtle!
    Even more advanced would be having buttons that add or remove items, allowing you to configure the cannon from the front! So, a “controll panel” at the front has “fire”, as well as 2 rows of 3 inputs (note lock variety probally), each row modifying colum controlling one timer, the top row increasing by one item, the bottom decreasing.
    A “ready to fire” light turns on when no timing items are in movement. That means the timers have reset from your previous fire, and your adjustments have been accepted and done! You can’t fire while that lights off.
    The only major flaw is if you adjust the timer too quickly, it might over or under adjust since your input is just letting items through. To avoid that, always wait at least a half second before adjusting again! (Unless you want to make a counter that it then uses to change the timer…

  • @turnerburger
    @turnerburger Рік тому

    Bro really derived the guidance and control laws for a minecraft TnT cannon.

  • @RemiBoyz
    @RemiBoyz Рік тому

    Using MATLAB to model Minecraft mechanics... never thought I'd see the day! Most impressive.

  • @atlasotm
    @atlasotm Рік тому +1

    Letting the UA-cam alg know I want to see more of these videos

  • @slightlyenlightenedlayman
    @slightlyenlightenedlayman Рік тому +1

    This is truly the next step forward in tnt cannon technology. now we just need the community to come up with multiple weapon designs, and a mod to help you choose the best weapon design for your application. i imagine this could also be used well with ender pearl launchers for long range player movement/ So many possibilities!

    • @NS-zi1xv
      @NS-zi1xv Рік тому +1

      Imagine using artillery to win group pvp battles

  • @grooverchan1600
    @grooverchan1600 Рік тому +1

    Good ol’ saxton Hale manufacturing weapons yet again

  • @slavwaifu1216
    @slavwaifu1216 Рік тому +2

    Its funny because about a mounth ago i had a test in matlab, well actualy in octave that is a free and open source version that uses the same language. And i had to do quite a similar thing. Very well done.

  • @GradientAscent_
    @GradientAscent_ Рік тому

    Love the engineering that goes on in some of these videos

  • @somebody_JB
    @somebody_JB 11 місяців тому +2

    How far we’ve come. It is was all fun and games with cannons until you bring out the orbital nuclear bombs

  • @alexwang007
    @alexwang007 Рік тому +1

    So you obtained a closed form solution for the ballistics of the payload TNT. Impressive. I have been working on a research project in real life where the ballistics of an axisymmetric projectile is solved iteratively. The 6 DOF equations of motion are 12 coupled differential equations that are solved simultaneously. MATLAB solving is simple but I'll have to see what happens when I try this on a microcontroller haha

  • @romanbassett3290
    @romanbassett3290 7 місяців тому

    Thank you for motivating me to do my intro to numerical methods homework🙏

  • @Monkeylordz88
    @Monkeylordz88 Рік тому

    This is awesome! I love math, and its super cool to see it being applied here. The next step: make a smart TNT railgun!

  • @nanodragon907
    @nanodragon907 Рік тому

    2:58 The Engineer from TF2 truly is the SunTzu of our lifetime
    "The answer? Use a gun. And if that don't work, use more gun."

  • @andreagoberti319
    @andreagoberti319 Рік тому +1

    Imagine in the future having tanks with inside groups of people that work together against other tanks

  • @Goobermanguy
    @Goobermanguy Рік тому

    This is just awesome! I use TNT cannons in CTM maps where resources are scarce, so it's hard to find info about advanced cannons which are actually usable to me. But this is exactly what I've been looking for!!

  • @spaghetticom
    @spaghetticom Рік тому

    Wow, so complicated and so cool. I never tought this is gonna be posible.

  • @ginglyst
    @ginglyst Рік тому

    Cubicmetre, you just earned the title "Professor in Minecraft sciences" and if that title does not exist, it should... just for you ;-)

  • @Boolet
    @Boolet Рік тому

    Good to see that learning matlab and linear algebra in university is useful :)

  • @idkanimate7455
    @idkanimate7455 Рік тому +2

    student: "Man why do i have to learn calculus and trigonometry'
    Teacher: 'lets watch a minecraft video'

    • @cubicmetre
      @cubicmetre  Рік тому +1

      Don't forget linear algebra!

  • @BeefandCheese
    @BeefandCheese Рік тому +2

    This is insane! I don't think it will be as useful in an attacking pvp scenario since it will take a while to set up, but this might be fun to use within a castle wall!

  • @deltap6967
    @deltap6967 Рік тому

    I have never seen this before until now, amazing!

  • @uroojfatima6456
    @uroojfatima6456 Рік тому +1

    I actually dreamed of this a year ago, a system that takes an angle, sets fuse time, and take down those pesky enemy flying machines in the air

  • @gustavbw
    @gustavbw Рік тому

    I have a challenge for you: shooting around corners.
    That smart artillery seems to be consistent and precise enough to launch a payload (henceforth: redirection payload) + a projectile to be redirected mid air. It should theoretically be possible but to simplify, you could build a prototype that only shoots straight, and then just varies the position of the redirection payload in relation to the position of the projectile at that point in time.
    Using entity tick control like the extreme rail gun tnt cannons do, should allow you to fire a payload so large (actually probably not that big) that just 1 tick of delay between the launched payload and the actual projectile exploding should be enough to get a very large point cloud of possible coordinates.
    Taking the smart artillery approach would leave you with 5 degrees of freedom for the limited prototype:
    1. ignition delay of projectile
    2. x position of redirection payload in relation to the projectile
    3. y position of redirection payload -||-
    4. z position of redirection payload -||-
    5. ignition delay between the static payload and the redirection payload + projectile.
    This would, theoretically, allow you to hit any coordinate in a sphere with a radius depending on the size of the redirection payload, at a set offset away from the cannon in the direction it is facing depending on the size of the payload.
    Also yes I just noticed there's a major caveat in this. When reaching for medium distances, bullet drop takes effect. Now this is sorta counter-acted by the fact that both the redirection payload and the projectile has the same ballistic arc, but it will still mean that you have to vary the size of the initial payload (and increase d.o.f. 5) to compensate. But still doable! (theoretically).
    Now, for actually building the prototype, I think dropping the redirection payload into a 3m^3, alining it with pistons/water streams/water-elevators/!water-elevators (I've seen Ilmango do some crazy entity alignment magic) and then dropping the projectile tnt into this space timed with the explosion of the payload is a valid way to go. I know a limited version is possible, but getting that full 360 degree sphere is probably going to take a whole lot of math and timing.

  • @yuksu8680
    @yuksu8680 Рік тому

    its funny to go back from newer videos to this. going from send a pinpoint accuracy drilling rod of explosions to anywhere on the map or mining a entire layer of the world for any material to building this little guy that shoots 1 tnt.

  • @jakesto
    @jakesto Рік тому +1

    This is very cool, but it isn't destructive enough! I made a primitive full-auto aimable TNT Cannon a few years ago. It fires as fast as comparator clocks pulse, but the fuze time of the projectile is always the maximum. It used multiple propellant locations that could be toggled on or off to aim where it shot. Maybe there's a way to do this more elegantly that can shoot at more than just 20 or so different points. There might be a way to make it shoot faster, too, I'm still very new to zero-ticking and such.

  • @majapaja_
    @majapaja_ Рік тому

    This is so fucking cool im studying mechanical engineering and this is the level of math we're studying to build like actual machines and this guy is just doing it for funsies in a 12 year old game

  • @beaverbuoy3011
    @beaverbuoy3011 Рік тому +1

    Oh boy it might be time to build that bunker XD

  • @natec1
    @natec1 Рік тому

    This is awesome! When I clicked on the video, I thought it was probably gonna be some complicated thing having to do with exploiting some bug in Minecraft, but it's actually pretty simple! Makes me want to try to make one, maybe with an alternate payload source on the left side, expanding the area available on that side. Glad I'm a student so I have access to matlab lol

  • @SolaceCafe
    @SolaceCafe Рік тому +2

    using this alongside subtick mechanics (firing all the projectile tnt on the same frame but offset in processing order) to make an adjustable AP cannon could be cool.

  • @ChiefSmokinWater
    @ChiefSmokinWater Рік тому

    this man is TNT mumbojumbo on steroids and I love it

  • @protecteddog89
    @protecteddog89 Рік тому

    Just found this channel, love for tf2 and love for really cool technical minecraft builds and explanations; im in love!