Currently, the simulation only has one type of a vehicle traveller. (Though represented by different meshes.)
An enum should be implemented for different types, that is also able to impart different private attributes, to be used by later features, to the vehicle traveller.
Some suggested attributes include:
accelerationRate (currently without effect)
maximum speed, (currently with effect)
mesh, (currently with effect)
[private] speed variance scale (currently with effect)
deaccelerationRate (currently without effect)
The design should be extendable for more attributes to be given in the future.
When maximum speed is queried from the enum, it should vary its maximum speed by “maximum speed - variance + 2 \ _variance _ random number between 0,…,1”
Currently, the simulation only has one type of a vehicle traveller. (Though represented by different meshes.)
An enum should be implemented for different types, that is also able to impart different private attributes, to be used by later features, to the vehicle traveller.
Some suggested attributes include:
The design should be extendable for more attributes to be given in the future.
When maximum speed is queried from the enum, it should vary its maximum speed by “maximum speed - variance + 2 \ _variance _ random number between 0,…,1”
The maximum speed returned should be consistent.
Specified by: Zdenek Plesek
Implemented by: Zdenek Plesek + Tomas Premoli
Validated by: Tomas premoli
┆Issue is synchronized with this Trello card by Unito ┆Attachments: Vehicle-types | #43 Vehicle types + Rudimentary Vehicle Managers