I am having an issue with Area.grass_objs and Area.embed_objs in that their .elms() function always returns zero. The world renders all the grass and embedded objects correctly, it is just that those memc's always return zero elms.
I suspect it may be a 2.0 issue because Forum user Fex sent me some code he uses for 1.0 and says it works fine for him but when I try 2.0, it does not work at all.
As per usual, i have attached my source code and a video showing the issue. I just modified the code of tutorial 14 - Game Basics - 02 - World. I first added some simple grass to the Sample world.
RE: Issues with Area.grass_objs and Area.embed_objs
Hello!
In 2.0 it works differently,
inside area load:
1. all objects are loaded into _objs
2. those of ACCESS_TERRAIN are copied into _terrain_objs
3. those of ACCESS_GRASS are copied into _foliage_objs
RE: Issues with Area.grass_objs and Area.embed_objs
(05-14-2013 01:12 PM)Esenthel Wrote: Hello!
I'll make access to all of those members in next release
Could you also add a function to return Memc<WaterMesh > _water; while you are at it? I would like to be able to load water areas placed in the world editor into Ineisis worlds without having to change the engine headers. This simple change I think would let me do that I think...