STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
270
IN-GAME
1,687
ONLINE
Founded
8 November, 2013
All Discussions > Bug Reports > Topic Details
Kage-Sama 28 Dec, 2017 @ 4:32pm
Vertices exported incorrectly with SMD bone animations
After several weird attempts at editing a CSS skin to work with GMOD TTT and not be Left Handed, I had to try something. Import, and then immediately export the file I was working on.

Original
2 "L_Armdummy" -1
2 -12.232234 -9.187566 -5.015311 -2.625222 -0.412431 2.958107

All I did was import and then export. Playing with the options, including the legacy rotation option, didn't keep it from looking like this afterwards

5 "L_Armdummy" -1
5 12.232234 -9.187566 -5.015312 -2.625222 -0.412431 0.183486

NOTE: The first parameter in the original is negative while the exported version is not, and the last value is shifted substantially as well. Did the same with the right arm dummy as well as some other miscellaneous bones.

21 "R_Armdummy" -1
21 11.209009 11.801211 -0.091833 1.164675 0.000000 -3.141722

24 "R_Armdummy" -1
24 -11.209009 11.801211 -0.091832 1.164675 -0.000000 0.000129

Blender ver 2.79
BST ver 2.9.1
Last edited by Kage-Sama; 28 Dec, 2017 @ 4:34pm
< >
Showing 1-4 of 4 comments
xdshot 28 Dec, 2017 @ 6:12pm 
You could add SWEP.ViewModelFlip = true into your lua code so it is mirrored without messing with model.
Artfunkel 29 Dec, 2017 @ 7:08am 
If you're importing via QC then it may be that a flip command has been applied. There may also be animation which mirrors all the bones that you are now exporting as the reference position.

The second altered value is a rotation which wraps around at a number based on pi. The exporter's result is probably equivalent to the imported value.
Kage-Sama 29 Dec, 2017 @ 7:55am 
I was not importing via QC on that test, just an SMD reload animation.

I'll show all the steps I take from decompile to the view at the end

Originally posted by xDShot™:
You could add SWEP.ViewModelFlip = true into your lua code so it is mirrored without messing with model.
I am trying to keep everything clientside as I want it to be applyable to all servers
Kage-Sama 29 Dec, 2017 @ 8:16am 
Hmmm, unable to recreate the issue after multiple "replica" tests. Might've just f'd up the export or decompile settings on the original set of runs
< >
Showing 1-4 of 4 comments
Per page: 1530 50

All Discussions > Bug Reports > Topic Details