EntityName$() - Not working with Static Mesh

Archives Forums/Blitz3D Bug Reports/EntityName$() - Not working with Static Mesh

Ian Caio(Posted 2009) [#1]
Hey,

Earlier I found something wierd: When I loaded a mesh using LoadMesh, I couldnt get its names with EntityName$(). But if I loaded the exactly same mesh with LoadAnimMesh() I could!
I thought it wierd so I tryied to do a little demo, just with 3 cubes, exported from blender using Gandaldf 2.07, with 3 different names (MeshName1, MeshName2 and MeshName3). The same thing happened..

.zip with the source codes (LoadMesh.bb and LoadAnimMesh.bb) and the meshs:
http://www.4shared.com/file/178510756/6420cdb/EntityName.html

Sorry about the english.

Cya


Beaker(Posted 2009) [#2]
This is not a bug. With LoadMesh all hierarchy is collapsed into one entity. It is described here.

The answer is to use LoadAnimMesh.


Ian Caio(Posted 2009) [#3]
Oh, my bad, sorry for that.

I thought the only difference between Static and Animated mesh was the animation itself. Now I see theres more behind this hierarchy.

Thanks for answering :)

Cya