You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
driving AI is not to be trusted.
the least we can do is check for people / cars* blocking the street, and fucking wait instead of going around or over obstacles.
*as long they're in working condition
The text was updated successfully, but these errors were encountered:
... still, unit would first rally again, re-creating any waypoints. soooo... we'd need to look for existing waypoints in all waypoint-creating routines.
ugh also - we'd do this using a new state, and calling customActivity from a state is yuck.
so: new car business state "traffic_jam" with transition from and to bus_voyage | bus_transit
problem: vehicle would stop as soon as blockage is detected, which might be quite some way off (depending on speed).
example: vec going at 30m/s with 2s scan interval would need to scan (60m+<brake distance>) ahead, might end up stopping directly behind target or up to 60m away which is a bit too far. I want to bumpers to contact. It's supposed to be a traffic jam ffs, not a convoy excercise.
Thus, putting a waypoint might again become the best solution. Meh.
moveTo also works without removing the group's waypoints. Unofrtunately, afterwards the group currentWaypoint is invalid (index = len waypoints), so currentWaypoint index needs to be restored
driving AI is not to be trusted.
the least we can do is check for people / cars* blocking the street, and fucking wait instead of going around or over obstacles.
*as long they're in working condition
The text was updated successfully, but these errors were encountered: