Open Lwmte opened 9 years ago
I always blamed Bullet for that.
Bullet never pushes Lara anywhere until she's dynamic (i.e. ragdoll). Everything you see in her "normal" state is caused by faulty code of OpenTomb itself.
She slides even when she hangs idle on a ledge. And the most interesting is that the direction (left or right) depends on whether you used jump
and then action
or just action
and up
.
Also, when you die on a slope, she slides completely down it. I believe that's also the same bug,
It also happens when she lands (animation 24) or when she picks up an item (first big medipack of TR3 for example).
Crouching makes Lara to slide very fast, too.
Standing on a narrow edge creates high frequency oscillation. E.g. 63036,55033,1255,328,0,0
in Palace Midas.
Another funny effect of this bug is when you start turning Lara clockwise she will eventually slide backwards on a flat horizontal surface if there is a certain mesh near her:
Much better now. There is no collision sliding except when she picks-up an item. That's visible in Jungle first secret if she's trying to pick-up items while still in crouch state.
This is a very old bug which was introduced by last collision refactoring. It needs to be fixed, as it's probably directly related to the problem described by @Gh0stblade in #28:
And generally it's just annoying to have her slide in almost any possible situation, like she's on ice.
The problem may lie in "fixing" body parts position. Engine thinks it should push out some body parts falsely marked as "penetrating".