Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-67967

Key framed animations do not apply correct degrees of rotation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.14.30 Hotfix
    • None
    • Unconfirmed
    • Windows

      Key framed animations do not apply the appropriate degrees of rotation that is specified in the animations json file. For example, when 30 degrees is specified, the actual in game rotation is much smaller. The number seems to be around a factor of 10 off, since using the number 300 leads to a larger in game rotation of (around 30 degrees).

      This leads to a very small rotation (probably 3 degrees)

      ...
      
      "leg0": {          
        "rotation": {            
          "0.0": [0, 0, 0],            
          "0.2333": [30, 0, 0],            
          "0.5167": [0, 0, 0],            
          "0.7667": [-30, 0, 0],            
          "1.0": [0, 0, 0]          
        }        
      }
      
      ...

      This leads to larger rotation (probably around 30 degrees)

      ...
      
      "leg0": {          
       "rotation": {            
         "0.0": [0, 0, 0],            
         "0.2333": [300, 0, 0],            
         "0.5167": [0, 0, 0],            
         "0.7667": [-300, 0, 0],            
         "1.0": [0, 0, 0]          
       }        
      }
      
      ...

            m3rickson Michael Erickson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: