ImpactOTheGame / DemoSquad

0 stars 0 forks source link

Building destruction particles #8

Closed FelixHansson closed 11 years ago

FelixHansson commented 11 years ago

Create system for particles of different sort when buildings are destroyed, two basic things would be particles at a fixed position like the ground and particles that follows the building as it is destroyed

FelixHansson commented 11 years ago

Basic stuff working, some work left to determine when particles should and shouldn't move

FelixHansson commented 11 years ago

The one remaining thing would be making static particles dynamic under certain conditions, for example should a building on top of another be destroyed you might want to have static static smoke particles the top of the supporting building. But should the supporting building be destroyed they should be dynamic and follow the building. One solution could be childing the particles to the supporting building, in other words add support for spawning particles with a set transform as parent

FelixHansson commented 11 years ago

Added support for deciding transform for parent, should do the job