assaultcube / AC

AssaultCube
846 stars 214 forks source link

[release_1.3_beta1] stuck in ceil corners #382

Open mfabiojrs opened 3 years ago

mfabiojrs commented 3 years ago

stuck

drian0 commented 3 years ago

@BrutalSystem The link you provided does not work unfortunately. Maybe you wanted to share a video?

mfabiojrs commented 3 years ago

@BrutalSystem The link you provided does not work unfortunately. Maybe you wanted to share a video?

updated.

drian0 commented 3 years ago

Thank you. Does this issue occur on any of the official maps?

mfabiojrs commented 3 years ago

Thank you. Does this issue occur on any of the official maps?

this is on all maps, you only need a corner wall for this to happen.

drian0 commented 3 years ago

@BrutalSystem: Could you please re-test this one? Thank you very much.

mfabiojrs commented 3 years ago

@BrutalSystem: Could you please re-test this one? Thank you very much.

it worked, but that's not a solution, you're fixing one and generating another. if(z2 > ns->ceil) d->vel.z = 0; // cancel out jumping velocity when hitting corner ceiling you will cancel jump speed when hitting the corner ceiling, but corner ceiling also works wall type, so you are generating more trouble on the maps.

20210726_02 55 24_newmap_TDM if someone jumps towards corner ceiling wall, you will cancel the speed.

drian0 commented 3 years ago

You are right, thank you for pointing out this flaw.