Using this code, it is trying to go a few degrees away from vertical towards the target, but it doesn't actually point in the right heading until you get at least 5 degrees from vertical. This makes doing a tiny gravity turn impossible by using lock heading before launch.

Bug Active Found in 1.0.4.0
Sandbox View

3 Comments

  • Log in to leave a comment
  • Profile image

    @Krydax Sure, it's a good point and the behavior is not obvious at all. I'll keep the bug report alive until we can figure out a better way to deal with it.

    1.2 years ago
  • Profile image
    0 Krydax

    @AndrewGarrison so is it a bug that could be/will be fixed? or is this some issue that will always be around? If so, it could be good to have that limitation told to the player somehow, as it's very confusing behavior since it's not actually locking the heading onto the vector you feed it.

    1.2 years ago
  • Profile image

    That's correct, it's a limitation when locking the heading on a vector. The set craft heading instruction can be used to set the heading at any pitch angle and any subsequent calls to lock heading on vector should maintain that heading when the pitch angle is > 85 degrees.

    +1 1.2 years ago

No Upvotes

Log in in to upvote this post.