Hello Hriday, You should set the Alpha (transparency) to 1. So if you want red, use (1,0,0,1).
Best regards, Angelo Hriday Sanghvi via sumo-user <[email protected]> schrieb am Mi. 19. Okt. 2022 um 12:28: > Hello, > > I am using > >> *traci.vehicle.setColor("veh1", (1,0,0,0)) # red* > > to change a vehicle's color depending on where it changes lanes to, but > the vehicles become invisible after first being inserted. Here is an > example where you can spot the cars from their indicators instead: > > [image: invisible cars.png] > > Thank you. Please advise. > > Sincerely, > Hriday > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user > -- *Angelo Banse* [email protected] [email protected]
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
