- Messages
- 21
- Country

this is already making me sleepy, I don't know how to worry, every idea is welcomeAnd are you sure your blender node is really called like that? Sorry if i missed that, i looked but didnt find infor about it.
Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.
By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

this is already making me sleepy, I don't know how to worry, every idea is welcomeAnd are you sure your blender node is really called like that? Sorry if i missed that, i looked but didnt find infor about it.

make the object disappear.Are you trying to stop the animation for part of the day or make the object disappear?
Do exactly what @Senchay is suggesting. You need to use the name of the object node, not the name of your animation, for the Component tag in the ModelBehaviors, if you are trying to make the object disappear.make the object disappear.


<?xml version="1.0" ?>
<ModelInfo guid="*(GUID)*" version="1.1">
<LODS>
<LOD MinSize="0" ModelFile="ssdk_hangar_fechando.gltf"/>
</LODS>
<Animation name="portao1Action" guid="*(GUID)*" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portao1Action"/>
<PartInfo>
<Name>portao1Action</Name>
<AnimLength>460</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 28800 >=
(E:LOCAL TIME, Seconds) 64800 <= and if{ 460 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>
</ModelInfo>

I'm not sure what you meen by scenario that succeeded. If you meen that you have a working blender animation that ok but not an issue. I have an opening and closing hangar that starts when I approach the hangar and come closer than 50 meters to it. But it opens and closes in a loop. That is the issue with material animations which cannot be connected to animations of the type "sim".I found a scenario that succeeded. But I still don't understand how he managed to tie the blender with the xml.



<?xml version="1.0" encoding="utf-8"?>
<ModelInfo guid="{59c7bab4-cd62-430a-fad5-92463ab1deb3}" version="1.1">
<LODS>
<LOD minSize="0" ModelFile="sssshangar03A.gltf"/>
</LODS>
<Animation name="janelaf1.1" guid="e0a92163-f7d0-407e-9bbb-b2e82625fdfc" type="Sim" typeParam="AutoPlay" length="100" typeParam2="janelaf1.1"/>
<PartInfo>
<Name>janelaf1.1</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 28800 >=
(E:LOCAL TIME, Seconds) 64800 <= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>
<Animation name="janelaf1.2" guid="13a70ac4-7d66-478a-b070-52a117b45887" type="Sim" typeParam="AutoPlay" length="100" typeParam2="janelaf1.2"/>
<PartInfo>
<Name>janelaf1.2</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 28800 >=
(E:LOCAL TIME, Seconds) 64800 <= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>
<Animation name="janelaf2.1" guid="dab1eea6-3c42-4861-9d43-5539026adcc3" type="Sim" typeParam="AutoPlay" length="100" typeParam2="janelaf2.1"/>
<PartInfo>
<Name>janelaf2.1</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 28800 >=
(E:LOCAL TIME, Seconds) 64800 <= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>
<Animation name="janelaf2.2" guid="a1c4abc0-3265-4a49-bbeb-6406a9dbc318" type="Sim" typeParam="AutoPlay" length="100" typeParam2="janelaf2.2"/>
<PartInfo>
<Name>janelaf2.2</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 28800 >=
(E:LOCAL TIME, Seconds) 64800 <= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>
<Animation name="portah1.1" guid="71032a6e-d4ff-4cc4-ab9e-9aec29845cd7" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portah1.1"/>
<PartInfo>
<Name>portah1.1</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 24000 >=
(E:LOCAL TIME, Seconds) 67500 <= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>
<Animation name="portah1.2" guid="2f3e3aac-464a-4b59-a7c2-ffbf4d4f686a" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portah1.2"/>
<PartInfo>
<Name>portah1.2</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 24000 >=
(E:LOCAL TIME, Seconds) 67500 <= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>
<Animation name="portah1.3" guid="5479b22e-2155-4d72-ac29-ac476e3f1029" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portah1.3"/>
<PartInfo>
<Name>portah1.3</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 24000 >=
(E:LOCAL TIME, Seconds) 67500 <= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>
<Animation name="portah3.1" guid="ba93ff95-9be4-4cbc-93de-979008a88f73" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portah3.1"/>
<PartInfo>
<Name>portah3.1</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 22000 >=
(E:LOCAL TIME, Seconds) 71000 <= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>
<Animation name="portah3.2" guid="6d390692-b65e-4ec8-beab-950f19365e90" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portah3.2"/>
<PartInfo>
<Name>portah3.2</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 22000 >=
(E:LOCAL TIME, Seconds) 71000 <= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>
<Animation name="portah3.3" guid="966fb2c9-b209-4dce-9db9-8378e779c32a" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portah3.3"/>
<PartInfo>
<Name>portah3.3</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 22000 >=
(E:LOCAL TIME, Seconds) 71000 <= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>
<Animation name="portah3.4" guid="1c49104d-e74c-49b1-98a5-6c8aad8bee64" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portah3.4"/>
<PartInfo>
<Name>portah3.4</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 22000 >=
(E:LOCAL TIME, Seconds) 71000 <= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>
<Animation name="portao" guid="886cb3c6-4770-4e87-9628-f6d0527162ca" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portao"/>
<PartInfo>
<Name>portao</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 25200 >=
(E:LOCAL TIME, Seconds) 67500 <= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>
<Animation name="portaof1.1" guid="8f17c030-8e5d-4a58-a766-c708457706ab" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portaof1.1"/>
<PartInfo>
<Name>portaof1.1</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 25200 >=
(E:LOCAL TIME, Seconds) 67500 <= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>
<Animation name="portaof1.2" guid="39ddd429-483b-4a83-8a47-b2d886441d34" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portaof1.2"/>
<PartInfo>
<Name>portaof1.2</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 25200 >=
(E:LOCAL TIME, Seconds) 67500 <= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>
<Animation name="portaol1.1" guid="1984f38d-e8c5-447f-9410-9b6daf41032d" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portaol1.1"/>
<PartInfo>
<Name>portaol1.1</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 25200 >=
(E:LOCAL TIME, Seconds) 67500 <= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>
</ModelInfo>
Many thx I'll try it with my hangarHere are the blend and xml files of a test I did for door animation that works if that can help you.

Can you give more details on how it was done? More precisely in the blender?Wow it works with my hangar as well. I'll upload a short clip. I connected the animation of opening/closing to the yoke hide/unhide function in the my TBA930....
I'll send You all my details as soon as I have time for it, hopefully today but not sure. The hangar and the xml for sure...Can you give more details on how it was done? More precisely in the blender?