Hi everyone, just a quick question to see if I can get any answers. I’m in the process of making my own falcon 9 style rocket. I have the vizzy to target and land at specific co ordinates where I placed the landing pad in the sea. However it appears that the boat seems to drift. Is there any way to stop this? Or is there a method to update the vizzy to compensate for this?

Thanks
Chris

Tags
Question

5 Comments

  • Log in to leave a comment
  • Profile image
    122 Cjkb

    @YaMomzBox420 just one question though, how do I make it so that the vizzy keeps updating the landing position if I have a set lat/long? Is this done by setting the landing coordinates to “data” then having the broadcast message to loop the calculations?

    1.1 years ago
  • Profile image
    122 Cjkb

    @YaMomzBox420 that’s a perfect explanation, thanks so much.

    1.1 years ago
  • Profile image
    1,176 YaMomzBox420

    You have to run a while loop that checks the targets position at least once a second(but probably more like every .1 seconds or faster) in order to update your target position variable in real time. If you set the position once and never update the variable, it won't change, even if the actual position changes over time. This is why your target seems to drift, as well as the fact that a specific ground position does not always occupy the same PCI coordinates because of the planet's rotation. If you sit motionless on the ground with your PCI coordinates displayed you'll see that everything moves even if it hasn't moved relative to the ground surface itself. The only way to remedy this is to rapidly update the current position like above

    1.1 years ago
  • Profile image
    122 Cjkb

    @RudimentaryCheezit thanks for your advice. I believe I may have been doing this. However I’m saving the landing pad as a flight and creating a vizzy to display the lat/long of the pad. These are the figure I’m using to create a variable “landing coordinates” converted to a vector. What you’re saying makes perfect sense but I’m not sure on any other way to do it other than this way. Do you have any ideas?

    Thanks
    Chris

    1.1 years ago
  • Profile image

    target the actual latitude/longitude of the landing pad instead of static coordinates

    or reduce physics distance to a super tiny number

    1.1 years ago

No Upvotes

Log in in to upvote this post.