-
-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPBGE: Fix normal update of BGE skin deformer.
Previously the BGE deformer computation for skin defomers was computing wrongly the normal for two reasons: - The normal and position of each wasn't intialized. This is solved by copying the normals and position in the function BL_MeshDeformer::VerifyStorage no matter what. - The normals was multiplied by the bone matrix each frame and not the "delta" bone matrix. To solve this issue the original unmodified normal is multiplied by the bone matrix and copied in the final normal.
- Loading branch information
1 parent
051dc49
commit c1012ab
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters