I was just about to go through a whole load of math and try to find the angle between two 3D vectors and then I realized that I could just use something even easier and cooler! So I achieved a really cool Thunderbolt effect! Really happy with this! #Roblox #RobloxDevpic.twitter.com/HWnCKsGRWx
You can simplify slightly by doing a.unit:Dot(b.unit), since all vectors have the .unit property that makes length 1
-
-
It’s slower though because of metatable calls and such. Localized functions rule
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
