Animation

This topic contains 2 replies, has 1 voice, and was last updated by  pascalv 6 years, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #30587

    pascalv
    Member

    Hi,

    How to change the Transformation matrix.

    I am using the PowerVR sdk for IOS.

    Thanks

    Pascal.

    #35010

    pascalv
    Member

    I found the answer. This is what I did and let me know if it the good way.

                        PVRTMATRIX r;

                        PVRTMatrixIdentity(r);

                        PVRTMatrixRotationX(r, a);

                        

                        PVRTMATRIX* anim = (PVRTMATRIX*)pMesh->getNode()->pfAnimMatrix;

                        PVRTMatrixMultiply(*anim, r, *anim);

    Pascal.

    #35011

    pascalv
    Member

    And also use GetWorldMatrixNoCache instead of GetWorldMatrix

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.