Ecotypes are supposed to be for adding detail objects to the terrain automatically but right now they are only useful for adding grass automatically, to make it more useful we could add a few new tags to the flora.xml file so ecotypes are more customizable. Some of these tags are:
Collision = True/False: can be used to specify if a detail object has collision or not, grass has no collision with player or camera but rocks and other detail objects need collision.
WindAffected = True/False: can be used to tell the engine if an object is affected by the weather system wind or not, again, grass and leaves can be affected by the wind to make it move but not rocks.
I think these things should be taken directly from the model used on the ecotypes instead, this will allow us to customize a model once on the modeleditor and then use it fast. Also right now a model can only be used in an ecotype if it has a specific material, not sure what it has to be but rocks do not work as an ecotype and other things that are supposed to worked just dont work.
Ecotypes are supposed to be for adding detail objects to the terrain automatically but right now they are only useful for adding grass automatically, to make it more useful we could add a few new tags to the flora.xml file so ecotypes are more customizable. Some of these tags are:
Collision
=True/False
: can be used to specify if a detail object has collision or not, grass has no collision with player or camera but rocks and other detail objects need collision.WindAffected
=True/False
: can be used to tell the engine if an object is affected by the weather system wind or not, again, grass and leaves can be affected by the wind to make it move but not rocks.I think these things should be taken directly from the model used on the ecotypes instead, this will allow us to customize a model once on the modeleditor and then use it fast. Also right now a model can only be used in an ecotype if it has a specific material, not sure what it has to be but rocks do not work as an ecotype and other things that are supposed to worked just dont work.