I managed to get a basic setup of my vault script working that uses raycasts to detect if a player has successfully vaulted an object or even can. However, it uses the HRP’s LookVector to send a beam out, combining that with LinearVelocity and you can sometimes get something dumb like this: Last few seconds of gif
Is there any better way to either do the actual climbing itself so that it feels smoother, or somehow lock the rotation of the player’s HRP so they can’t turn in the air or do triple backflips?
The Humanoid has a property called “AutoRotate”, which stops the character from moving with the camera (and basically locking them in one orientation). Try setting that to false while the player is climbing.
The issue is that AutoRotate is already off during the climb and vault movement. LinearVelocity is causing the rotation, making the character flip around especially if the character is too close to the wall or has another part in the way