Up direction from current position?
Tags
Question6 Comments
- Log in to leave a comment
-
9,400 RudimentaryCheezit
PLEASE NOTE that the up vector expression i showed you is only relative to the universe, not the planet
-
-
9,400 RudimentaryCheezit
(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 aCFrame
is... -
10.7k TritonAerospace
@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,237 TomKerbal
@TritonAerospace could be the Nav[Position] Craft Information in Vizzy program environment.
No Upvotes
Log in in to upvote this post.
@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.