Jump to content

setPivotMatrix & setPreTransformMatrix


GameMonetize
 Share

Recommended Posts

Hello team!

I had to introduce a breaking change to fix a bug we had since long time ago.

Basically the current behavior of the setPivotMatrix was wrong. The right one was introduced recently but only when the second parameter was set to true.

In order to keep the framework healthy, I decided to change the default behavior to a more correct one

So now, the setPivotMatrix will ONLY change the pivot and not move the object at all.

 

But for people interested by the previous behavior, I also added a setPreTransformMatrix which is literally  transform matrix that will be applied at the beginning of the world matrix.

 

Hope this makes sense!

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...