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.

    1.6 years ago
  • Profile image

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

    1.6 years ago
  • Profile image

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

    1.6 years 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 1.6 years 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 1.6 years ago
  • Profile image
    2,237 TomKerbal

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

    1.6 years ago

No Upvotes

Log in in to upvote this post.