Skip to content
Snippets Groups Projects
Commit 4b83b41b authored by Arne Graf's avatar Arne Graf
Browse files

changed v0 with e0 in close-to-line mechanic

parent ac59ee0e
No related branches found
No related tags found
1 merge request!10Develop
Pipeline #
......@@ -279,7 +279,8 @@ Point GompertzModel::ForceDriv(Pedestrian *ped, Room *room) const {
printf("1 e0 %f %f, target %f %f\n", e0._x, e0._y, target._x, target._y);
} else {
ped->SetSmoothTurning();
e0 = ped->GetV0();
//e0 = ped->GetV0();
e0 = ped->GetLastE0(); //@todo: ar.graf: this was supposed to fix standing on lines, and should be tested or removed
if (ped->GetID() == -4)
printf("2 e0 %f %f\n", e0._x, e0._y);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment