xyonico / CustomAvatarsPlugin

A Beat Saber plugin for loading custom avatars into the game.
MIT License
43 stars 22 forks source link

VRIK Update #7

Closed nicoco007 closed 5 years ago

nicoco007 commented 5 years ago

I noticed that shoulder rotations on certain models were somewhat buggy in the current version of the plugin (mostly noticeable if the avatar has shoulderpads or something similar), and since this wasn't occuring with the same models when I'm working with VRIK, I thought it might be a good idea to update it. This fixes the issue, and movement in general is also a bit smoother as a result.

This seems to be working fine with the included avatars as well as my own. The only thing I had to change from vanilla VRIK is the Stretching() function in IKSolverVRArm.cs since stretchCurve isn't set to anything by default when running BeatSaber; I'm not exactly sure why that is the case and if it's necessary to investigate it.