metadriverse / metadrive

MetaDrive: Open-source driving simulator
https://metadriverse.github.io/metadrive/
Apache License 2.0
746 stars 107 forks source link

Question on safety objects (e.g. Road traffic signs) in MetaDrive #684

Open Aoyama7Hai opened 6 months ago

Aoyama7Hai commented 6 months ago

Thank you for your solid open source work.

Does metadrive support setting up certain road traffic signs on or around the road, such as signs with a speed limit of 60 mph? Or can this be done by customizing the environment?

QuanyiLi commented 6 months ago

Yes. you need to customize the environment on your own. Just like how we create TrafficBarrier, you can have your own object defined and then put it into the scene. For the 3D model, sometimes you may want the number to be changed instead of having a specific model for each speed limit. In this case, you can use a shader to achieve this.