Navigation

    CreatiCode Scratch Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode

    Drop game simulation

    Help
    4
    6
    175
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      Kathleen Flores last edited by

      My students are using drones for a rescue drop scenario. They would like to use Creaticode to simulate training for other students. The cargo being dropped is attached to the drone using the parent block. They have coded the space bar to unlink from the parent, and this works when combined with the move XYZ to specific coordinates in so many seconds. They would like to have the link and drop it more randomly, again for training. We have looked at the physics blocks and tried a few but are stuck. Any help would be appreciated.

      jeffreyrb03-gmail info-creaticode 2 Replies Last reply Reply Quote 1
      • Tyller_
        Tyller_ Best Forum Helpers last edited by

        @flores-yorkshireacademy do you mean reattach the child parent link? I don’t fully understand but I can understand how they have it setup currently.

        After thinking a little bit more, do you mean a link like a rope system where it can dangle from the object representing the drone

        <div component="post/signature" data-uid="255" class="post-signature">Check out my chat room project so you ppl can not use forums as chat rooms! https://play.creaticode.com/projects/66f2e1dcd1be43d82b886fbd?version=1 <p dir="auto">
        </div>

        1 Reply Last reply Reply Quote 0
        • jeffreyrb03-gmail
          JaecadeJnight Mod Helper @flores-yorkshireacademy last edited by jeffreyrb03-gmail

          @flores-yorkshireacademy provide screenshots/video/project examples to help us better understand your situation.
          Physics is also complicated with 3D, and you can’t just move an object to specific coordinates and have physics still working, as that block acts as say teleportation, since it’ll just move an object to those coordinates. I believe you have to use things like directional forces (like downwards) to have things move, rise, or sink. Try searching for physics tutorials on this forum, as they might help you and your students.

          #LLJW
          <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

          1 Reply Last reply Reply Quote 0
          • info-creaticode
            CreatiCode @flores-yorkshireacademy last edited by

            @flores-yorkshireacademy

            That’s a good question. We have just created a new tutorial for a game like this, which should be helpful to answer your question. If you need further help, it would be easier if you post a project link.

            https://www.forum.creaticode.com/topic/1874/3d-physics-game-for-drone-dropping-a-box-difficulty-4

            The demo project is shared here:

            play.creaticode.com/projects/67d4719d24841fbbc47752ce

            F 1 Reply Last reply Reply Quote 1
            • F
              Kathleen Flores @info-creaticode last edited by

              @info-creaticode
              Thank you for your help. I have copied and played with the code you recommended, but I am not able to get the drone to lift off the ground; the falling below O on Z is fixed. Any further assistance you can provided would be greatly appreciated. Here is the link to my code.
              https://play.creaticode.com/projects/67ec3f8ad349d76e8b5ddcc1

              info-creaticode 1 Reply Last reply Reply Quote 0
              • info-creaticode
                CreatiCode @flores-yorkshireacademy last edited by

                @flores-yorkshireacademy

                If you ask our AI assistant, you should be able to find out the issue:

                76181683-5a5f-48aa-804b-28b36b3bdaf4-image.png

                Our original example was using “body rotation speed limit”. I guess you picked the wrong block?

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post