Skip to content

2019_08_21_ToDoToday

Éloi Strée edited this page Aug 21, 2019 · 5 revisions

Cool to learn

Acces code: https://github.com/EloiStree/2019_08_06_HelloTechnifutur

  • Deal with Quaternion
  • Some function
    • InverseTransfrom
  • Recentre your axis
  • Quaternion != Commutatif

Rotatoin the basic

Additional

//https://answers.unity.com/questions/50279/check-if-layer-is-in-layermask.html
    public static bool IsInLayerMask(int layer, LayerMask layermask)
    {
        return layermask == (layermask | (1 << layer));
    }

Clone this wiki locally