3DS MAX and object name in blitz

Blitz3D Forums/Blitz3D Programming/3DS MAX and object name in blitz

Hay all.

I have this pole model, At the end of the pole I have a small box which I gave the name node1.

Im trying in code to load the model, find the box and hide it. as well as get its global x,y,z

Any help would be good.

I tried the following.

Global oak=LoadMesh("trees\oak\oak.b3d")
t=FindChild(oak,"node1")
DebugLog t

But just got 0 in reply. Iv tried it in both .3ds and b3d

Maybe blitz only detects a child entity if it's set
in your code?

Use LoadAnimMesh, should fix your prob :)

nope didnt work Timmy. err Cybergoth.

Is there a set way to name it in max ?

And hay m8 you missed a good lecture by some wuman from Sony ENT working on the art for Getaway 2. we saw some cool art . shes the lead model/art type on it.

Then Danny did a good talk on FMM and AI avoidence.

Was really intresting.

Ahh Damnation, forgot I posted that It Actually does work m8 as Im sure your aware.

What didnt work was the B3D Pipeline. I guess it misses out entity names or something. I cant recal if I tried loading an animmesh with it though so it might just be the same as 3ds..

Im currently loading in a 3ds file and its working perfectly.

when you created the objects in 3D Studio Max, did you link them using the 'Select and Link' tool?

Regards,

Rogue Vector

hmm, but should n't everthing be a child of the scene root?.
I had the same problem you described. perhaps you should do the find child on the scene root.