Jump to content

XML talk:TRAM: Difference between revisions

1,536 bytes removed ,  28 July 2019
removing obsolete ITO notes
mNo edit summary
(removing obsolete ITO notes)
Line 75: Line 75:


[...]
[...]
==ITO Round 2==
The ITO bug seems to be caused by our limited knownledge of the animation system.
It turns out that the interpolating frame number can be overwritten by Shortcuts after all.
The Shortcuts tag should better have been named "AlternativeFromStates".
'''Shortcuts are accepted if their <Shortcut><FromState> value differs from the "primary" <Lookup><FromState> value.'''
If you want to make a '''Shortcut''' that uses the '''same FromState''' value then you have to set '''primary FromState''' value to '''None'''.
==ITO test setup, prep.==
Create static idle anim
Create kick type anim which moves pelvis by 20 units ?
Spawn at 0 0 0
Enable chr debug
Chr wait state running -> reset chr position
Record with OBS or just take notes?
===1. sample===
Modified animations with no rotations.
* idle: 60 f, key frames at 0 and 59
* comb_p: 20, key frames at 0 and 19
** total target translation: 20 world units
** total real translation: <20
Observed cycle: idle -> comb_p -> idle
Shortened list:
frame translation ITO frame z-to-z translation delta delta acceleration
0 0 [0/8] 0
1 0 [1/8] 0 0
2 0 [2/8] 0 0
3 0.125 [3/8] 0.125 0.125
4 0.375 [4/8] 0.25 0.125
5 0.750 [5/8] 0.375 0.125
6 1.250 [6/8] 0.5 0.125
7 1.874 [7/8] 0.875 0.125
8 2.624 [8/8] 0.999 0.124
... ... 1 0.001
comb_p had itself an interpolation of 8 and therefor z translation continued within followup idle
There was no backwards drift in this. Need to change future setup.




8,319

edits