@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
Drop game simulation
-
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.
-
@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
-
@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. -
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:
- 26 days later
-
@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
-
If you ask our AI assistant, you should be able to find out the issue:
Our original example was using “body rotation speed limit”. I guess you picked the wrong block?