Search Unity

Matrix4x4 apply bones rotation

Discussion in 'Scripting' started by rugal77, Oct 17, 2019.

  1. rugal77

    rugal77

    Joined:
    Aug 9, 2017
    Posts:
    44
    So,
    I am reading the modeling and animations of a binary file. I could read the modeling perfectly, and I created the modeling via C# script. But the animations I have doubts.

    The animations are in Matrix4x4 format.

    How to rotate bones? (I tried using localRotation, but the bones become deformed.)

    Is there another way?
     
  2. rugal77

    rugal77

    Joined:
    Aug 9, 2017
    Posts:
    44