Hi,
I experimented with Blender to add a so-called sceneroot to my spacestation.
That way, I thought I could load the .X with the LoadAnimMesh command and have a parent-children setup.
I wanted to have that scene-root as the uppermost parent, while the spacestation-mesh is a child of that uppermost parent, along with some other stuff.
The other stuff would be weapons that are attached to the station, so it can defend itself, in case it is attacked.
And of course, a door that would open when a ship would dock.
After exporting to .X, I noticed that I don't have any children in my scene.
I loaded the entire file with LoadAnimMesh and printed onto the scene the number of children in the scene, which is "0":
Station = LoadAnimMesh("Station.x")
Text 10, 10, "Children: " + CountChildren(Station)
All mesh-data (I placed cubes where the weapons would come) is visible, so I see the cubes and the station, but it seems that there is no parent-child support for .X files.
Is this true?
I modelled 1 station and placed 4 cubes onto it (which would later be exchanged by the weapons).
After studying the .X file, all meshes are just created seperately (which is correct, because they are all seperate meshes), but I cannot see any indication of parenting.
I experimented with Blender to add a so-called sceneroot to my spacestation.
That way, I thought I could load the .X with the LoadAnimMesh command and have a parent-children setup.
I wanted to have that scene-root as the uppermost parent, while the spacestation-mesh is a child of that uppermost parent, along with some other stuff.
The other stuff would be weapons that are attached to the station, so it can defend itself, in case it is attacked.
And of course, a door that would open when a ship would dock.
After exporting to .X, I noticed that I don't have any children in my scene.
I loaded the entire file with LoadAnimMesh and printed onto the scene the number of children in the scene, which is "0":
Station = LoadAnimMesh("Station.x")
Text 10, 10, "Children: " + CountChildren(Station)
All mesh-data (I placed cubes where the weapons would come) is visible, so I see the cubes and the station, but it seems that there is no parent-child support for .X files.
Is this true?
I modelled 1 station and placed 4 cubes onto it (which would later be exchanged by the weapons).
After studying the .X file, all meshes are just created seperately (which is correct, because they are all seperate meshes), but I cannot see any indication of parenting.