Procedural Generation of a Cityscape – Fly-Away Controls

I have managed to implement simple ‘fly-away’ controls for the camera. This is just to make it easier when exploring the city and to monitor the outcome. Clamps have been implemented on the Y axis to stop the user being able to rotate the whole way around, this will come in useful when the camera view is changed to be first-person with gravity.

Before I change it to first-person I will looking into adding in some kind of algorithm to consider a ‘centre’ of the city. This will add in a percentage chance of picking out each type of building (Large, Medium and Small) so that Larger buildings are more congregated towards the middle of the centre whereas the smaller buildings will appear more towards the edges of the city.

Advertisements