- Home /
Negative localscale and Inverse kenamatics
Hello, I'm trying to set up inverse kinematics on a model with a -1 x scale. But the positioning is off when the scale is flipped.
The reason i am trying to get this to work is because im working under a contract and am required to use the corgi engine. Which is a platformer engine that uses your characters scale to change your direction from right to left for walking.
The corgi engine has a demo of this set up and working but when i try it on my own model it performs the described effect. I contacted the corgi team and they said they never experienced an issue like this.
Attached is a gif explaining the issue. Iv created a new project and am only using an animator with an IK pass and the IKControl script from the unity docs here https://docs.unity3d.com/Manual/InverseKinematics.html
This is a gif of my issue
they have a demo scene with an I$$anonymous$$ed model, negate it's scale during gameplay and it's working?
Yes the corgi engine has a demo model with it flipping to negative scale with the I$$anonymous$$ still behaving normally
I have actually no idea why they do that (rotate by 180° doesn't break anything, so why changing scale), nor what the difference is, sorry