habeebweeb / COM3D2.HighHeel

COM3D2 plugin that dynamically adjusts maid's feet for high heels.
GNU General Public License v3.0
4 stars 5 forks source link

chore: optimize body offset #8

Closed silver1145 closed 2 months ago

silver1145 commented 2 months ago

resolves #2

habeebweeb commented 2 months ago

Could you explain what exactly is happening in the transpiler? From what I can guess, it's partially replacing the calculation for the y component of m_goOffset's local position?

In my effort to rewrite the plugin, I'm using the TBody.OnLateUpdate delegate and last nigh experimented with using Maid.AddPosOffset, which directly adds to m_goOffset's local position, to do the offset instead. Does this PR do something similar?