I'm trying to enable the player to climb up small obstacles, like in (early) Resident Evil. Setting up an input and animation is simple enough, but I can't get the player character to stay up on a platform.
During testing, I played around with the jump ability on the Sample 3D character, which works just fine - maybe there is some way to adapt this so it plays the climb animation, but is actually performing a jump (if that makes sense)?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
You wouldn't want a "jump", but rather a teleport / enforced position-setting, in the case of climing a specific obstacle in a specific place. Jumping involves gravity and unpredictability, whereas you'd want the motion to be exact.
You'd need a custom script that is able to detect when the Player is in front of such an obstacle, and then - when an input is pressed - I'd say teleport the Player to the final position, and then play an animation that has them appear as though they're still on the ground, climbing up.