After Climbing And Releasing Grip Button Player Floats Until Moving Left Stick (XR)

I am making a VR game where you climb a lot. While climbing, I found that after climbing up and releasing the grip button, the player floats instead of falling to the ground. If I move the left stick, it brings me down but that is far from ideal. I’m using the XR Interaction Toolkit Climb Interactable and Climb Provider with Unity Version 6000.0.26f1 and a Meta Quest 3S. Any help would be appreciated.

Thank you in advance for your help.

Thanks for reaching out!
This happens due to the way the Character Controller gravity is applied (or rather not applied) every frame in XRI. Technically it’s not a bug and is a comfort option (one handed climbing, motion sickness, etc…).

We recently released XRI 3.1.0-pre.1 which comes with a bunch of really handy locomotion improvements for handling movement, climbing, gravity, and jumping. We moved this “stay floating in air after releasing climb” functionality into a checkbox to easily toggle it on / off for those who want to better incorporate it into their own games.

However, if you don’t want to upgrade to 3.1.0-pre.1 (even it’s awesome and I’d highly recommend it), you can implement a simple workaround / hack by getting a reference to the Character Controller, then inside an update loop calling

m_CharacterController.SimpleMove(Vector3.zero);

This will force the Character Controller to update it’s physics tick each frame making it so gravity is consistently applied (when not climbing).

If you didn’t want to call it every frame, you might be able to call this after you are done climbing (or maybe a frame or two after done climbing).

Cheers and may the odds be ever in your favor!
-Joegre