Login

Fancade Wiki

consistency

... ...
@@ -1,10 +1,11 @@
1
[[/uploads/Normalize1.png|width=336px,alt=Normalize]]
2
1 3
Outputs a vector with the same direction as the input vector, but a length of 1. (Also known as a *unit vector*.)
2 4
3
[[/uploads/Normalize1.png|width=336px,alt=Normalize]]
5
## Notes
4 6
5
In the olden days you had to script vector normalization yourself, which would look something like this:
7
As [[Vector]] (0, 0, 0) is the origin point, feeding it in the input can give (nan, nan, nan).
6 8
7
[[/uploads/Screenshot_2023_0329_161940.png]]
9
In the olden days, before [[Fancade v1.4|version-history#fancade-1-4-3]], you had to script vector normalization yourself, which would look something like this:
8 10
9
# Buggy effect
10
[[Vector]] 0,0,0 is where the 2 arrows start. This script can give nan,nan,nan when all of the vector components are 0.
... ...
\ No newline at end of file
0
[[/uploads/Screenshot_2023_0329_161940.png]]
... ...
\ No newline at end of file
Fancade Wiki