guides:tips-on-quaternion
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
guides:tips-on-quaternion [2020/04/23 10:57] – vjraymon | guides:tips-on-quaternion [2021/02/23 11:57] (current) – title fix minotorious | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
Since 1.5, Foundation allows to mod Custom component and links it to a fbx (see Exemple02) | Since 1.5, Foundation allows to mod Custom component and links it to a fbx (see Exemple02) | ||
Assuming the local axis Y of the building is vertical (most cases), | Assuming the local axis Y of the building is vertical (most cases), | ||
- | a way to compute the cosinus (named | + | a way to compute the cosinus (named |
<code lua> | <code lua> | ||
Line 14: | Line 14: | ||
Note: | Note: | ||
- | 1) You can check that cosp*cosp + sinp*sinp is near 1 | + | 1) You can check that '' |
- | 2) This can be used, for instance, to convert a local direction on (X,Z) (for " | + | 2) This can be used, for instance, to convert a local direction on XZ plane (local coordonates |
guides/tips-on-quaternion.1587653868.txt.gz · Last modified: 2020/04/23 10:57 by vjraymon