OpenTomb icon indicating copy to clipboard operation
OpenTomb copied to clipboard

Floor slant makes Lara move

Open Lwmte opened this issue 9 years ago • 9 comments

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:

the root cause to the speed/movement issues is caused by the floor slants...

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".

Lwmte avatar Aug 08 '15 20:08 Lwmte

I always blamed Bullet for that.

vvs- avatar Aug 08 '15 20:08 vvs-

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.

Lwmte avatar Aug 08 '15 20:08 Lwmte

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.

vvs- avatar Aug 08 '15 20:08 vvs-

Also, when you die on a slope, she slides completely down it. I believe that's also the same bug,

Gh0stBlade avatar Aug 09 '15 11:08 Gh0stBlade

It also happens when she lands (animation 24) or when she picks up an item (first big medipack of TR3 for example).

Joey79100 avatar Aug 10 '15 17:08 Joey79100

Crouching makes Lara to slide very fast, too.

vvs- avatar Jul 02 '16 13:07 vvs-

Standing on a narrow edge creates high frequency oscillation. E.g. 63036,55033,1255,328,0,0 in Palace Midas.

vvs- avatar Jul 11 '16 21:07 vvs-

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: screen_00000

vvs- avatar Dec 26 '16 21:12 vvs-

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.

vvs- avatar Aug 05 '17 14:08 vvs-