borous
13-02-2006 21:39:06
Hi again,
I am not sure, but I think this is not correct. I have linked two objects to each other in 3dsmax. The exported file looks like this:
// change of name from DOOR03 to DOOR03_entity !
<entity name="DOOR03_entity" hidden="false" filename="DOOR03.mesh" CastShadows="yes" ReceiveShadows="yes">
<position x="3.26524" y="-0.181477" z="-0.851399" />
<rotation x="0" y="0" z="0" w="-1" />
<scale x="1" y="1" z="1" />
</entity>
// but here the parent remain DOOR03 and this parent does not exist
<entity name="DSWITCH03_entity" hidden="false" filename="DSWITCH03.mesh" parent="DOOR03" CastShadows="yes" ReceiveShadows="yes">
<position x="0" y="0" z="0" />
<rotation x="0" y="0" z="0" w="-1" />
<scale x="1" y="1" z="1" />
</entity>
Is this correct? I am not sure.
Borous
I am not sure, but I think this is not correct. I have linked two objects to each other in 3dsmax. The exported file looks like this:
// change of name from DOOR03 to DOOR03_entity !
<entity name="DOOR03_entity" hidden="false" filename="DOOR03.mesh" CastShadows="yes" ReceiveShadows="yes">
<position x="3.26524" y="-0.181477" z="-0.851399" />
<rotation x="0" y="0" z="0" w="-1" />
<scale x="1" y="1" z="1" />
</entity>
// but here the parent remain DOOR03 and this parent does not exist
<entity name="DSWITCH03_entity" hidden="false" filename="DSWITCH03.mesh" parent="DOOR03" CastShadows="yes" ReceiveShadows="yes">
<position x="0" y="0" z="0" />
<rotation x="0" y="0" z="0" w="-1" />
<scale x="1" y="1" z="1" />
</entity>
Is this correct? I am not sure.
Borous