Up direction from current position?

Tags
Question

6 Comments

  • Log in to leave a comment
  • Profile image

    @SamTheFox i think it will work for what i want to make, i have used this make lofting missiles before and it works on the current pci coordinates.

    one year ago
  • Profile image

    PLEASE NOTE that the up vector expression i showed you is only relative to the universe, not the planet

    one year ago
  • Profile image

    @SamTheFox nice that is even better.
    Add on to the Y

    one year ago
  • Profile image

    (craft [Position] + vec(0, 100, 0))
    i'm used to lua in roblox studio and i haven't used vizzy in awhile

    i hope vizzy understands what a CFrame is...

    +4 one year ago
  • Profile image

    @TomKerbal that doesn't have up direction.

    I found the answer is to make a normalized inverted gravity acceleration.
    Since gravity is always downard form current pos just invert it to get the up vector.

    +2 one year ago
  • Profile image
    1,682 TomKerbal

    @TritonAerospace could be the Nav[Position] Craft Information in Vizzy program environment.

    one year ago

No Upvotes

Log in in to upvote this post.