LBALab/lba2remake

Falling into the Temple of Bu through the well locks Twinsen's orientation

Closed this issue · 3 comments

See it happening here.

https://puu.sh/zVl1l/b56cfbe624.mp4

Also, I think the actors are supposed to turn to Twinsen too iirc but I'd have to double check.

Not sure what causes this, but it's probably related to scripting.

This is caused by hero.props.runtimeFlags.isTurning being stuck to true.
It can be reset with the expression: this.hero.props.runtimeFlags.isTurning = false, and Twinsen's movement will go back to normal.
It seems to be happening on scene transition when the actor is going INTO scene 10 (Isometric "Temple of Bu scene). It can be witnessed when going from scene 11 into scene 10, or when walking in from the outside scene 67.
processActorMovement could stand for some cleanup, but it's most likely that some script is causing it, because it happens on entry on scene 10 (I think even from the inspector).

EDIT: I think the precondition for the unwanted behavior is to have Twinsen fall through the well. I think it's to do with the part where the tourists get excited when they see him falling from the ceiling. Possibly the track doesn't end.
What I was saying above that it happens on entry on scene 10, is only valid if the precondition is met (i.e. he's fallen through the roof at least once)

I think this one has been fixed