One simobject placed more than once.

jtanabodee

Resource contributor
#1
Hi Jeffrey,
I have made animated windsock and it works fine. I have one little question.
If I want to place the same object in the scene but different location, do I need to have <SimObject Name= xxx> for each placement? Do I need to put those names in <Data Probe serving its clients> as well?
I have one windsock and I need to place it 6 times in my airport. I need to have <SimObject Name=Windsock1>...<SimObject Name=Windsock2> etc. util windsock6 and each one followed by the placement and condition and end with </SimObject>, right?
Not sure about that since there is no instruction about this.
Thanks for the wonderful program.
 

jtanabodee

Resource contributor
#3
So, it would be:

<SimObject Name="Wind Sock">

<Placement Hdg="0.0" Alt="0#AGL" Lon="7.4188" Lat="47.1821"/> -------------------------> I need to repeat this line six times?
<Placement Hdg="0.0" Alt="0#AGL" Lon="xxxxx" Lat="xxxxxx"/>
<Placement Hdg="0.0" Alt="0#AGL" Lon="xxxxx" Lat="xxxxxx"/>
<Placement Hdg="0.0" Alt="0#AGL" Lon="xxxxx" Lat="xxxxxx"/>
<Placement Hdg="0.0" Alt="0#AGL" Lon="xxxxx" Lat="xxxxxx"/>
<Placement Hdg="0.0" Alt="0#AGL" Lon="xxxxx" Lat="xxxxxx"/>


<Model SimTitle="12bPilot_SODE_Windsock_Slow">

<VariableDrivenRotation Animated="No" Axis="HEADING" Variable="WindDirection"/>

<ConditionalVisibility Variable="WindSpeed" Value="0-14"/>

</Model>


<Model SimTitle="12bPilot_SODE_Windsock_Medium_Speed">

<VariableDrivenRotation Animated="No" Axis="HEADING" Variable="WindDirection"/>

<ConditionalVisibility Variable="WindSpeed" Value="15-28"/>

</Model>


<Model SimTitle="12bPilot_SODE_Windsock_Fast">

<VariableDrivenRotation Animated="No" Axis="HEADING" Variable="WindDirection"/>

<ConditionalVisibility Variable="WindSpeed" Value="29-60"/>

</Model>

</SimObject>
 
#6
They look good. I'm dreading getting to the windsock design as I've not really worked out how to animate it correctly yet - are they easy to do?
 

jtanabodee

Resource contributor
#7
I might write a tutorial how to do that. It is not difficult at all. But you need to know how bone and skin work in animation. When you have skin, all you need is animate the bones only.
 
Top