Login

Fancade Wiki

Updated Look Rotation.md (markdown)

... ...
@@ -1,5 +1,18 @@
1
The Direction input is the Direction you want to look at, an example would be: I'm currently looking at (0,0,0), I want to look at (0,0,5) so I put "(0,0,5)" into the Direction input.
2
The Up input is just to specify which way is "Up". You can ignore this input and it will default to (0,1,0).
1
Create a rotation pointing in a given direction, e.g. rotating a character to look that way.
3 2
3
[[/uploads/Look_Rotation.png]]
4 4
5
[[/uploads/Look_Rotation.png]]
... ...
\ No newline at end of file
0
Inputs:
1
* Direction: The direction you want to look in
2
* Up: Which way is up for the looing character (defaults to 0,1,0 if unwired)
3
4
Outputs:
5
* Rotation: A rotation "looking" in the direction.
6
7
## Notes
8
9
* The Up input can often be ignored, but is needed if the default 0,1,0 is in the same plane as the Direction input.
10
11
## Examples
12
13
Passing e.g. 0,0,5 as Direction will result in a rotation looking forward along the Z axis.
... ...
\ No newline at end of file
Fancade Wiki