IK Controller, Can't fix direction by poleAngle

I’m created a example based on Animation blending example to test IK controller.
But i can’t fix the leg direction by poleAngle.
pg: https://www.babylonjs-playground.com/#BCU1XR#739

How can I control Avatar like in VRChat, any idea?(Automatic bending and squatting by the camera height)

ps: poor english :slight_smile:

Pinging @adam as he wrote that tool :slight_smile:

Unfortunately, I don’t have time to help wmlgl with this.