Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • CreatiCode
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

CreatiCode Scratch Forum

  1. CreatiCode Forum
  2. Help
  3. Drop game simulation

Drop game simulation

Scheduled Pinned Locked Moved Help
6 Posts 4 Posters 1.5k Views 1 Watching
  • 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 Offline
    F Offline
    Kathleen Flores
    wrote on last edited by
    #1

    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.

    JaecadeJnightJ CreatiCodeI 2 Replies Last reply
    1
    • Tyller_T Offline
      Tyller_T Offline
      Tyller_
      trusted helpers
      wrote on last edited by
      #2

      @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
      0
      • F Kathleen Flores

        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.

        JaecadeJnightJ Offline
        JaecadeJnightJ Offline
        JaecadeJnight
        Mod Helper
        wrote on last edited by jeffreyrb03-gmail
        #3

        @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
        0
        • F Kathleen Flores

          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.

          CreatiCodeI Offline
          CreatiCodeI Offline
          CreatiCode
          wrote on last edited by
          #4

          @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
          1
          • CreatiCodeI CreatiCode

            @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 Offline
            F Offline
            Kathleen Flores
            wrote on last edited by
            #5

            @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

            CreatiCodeI 1 Reply Last reply
            0
            • F Kathleen Flores

              @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

              CreatiCodeI Offline
              CreatiCodeI Offline
              CreatiCode
              wrote on last edited by
              #6

              @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
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • CreatiCode