Josh Babcock <[EMAIL PROTECTED]> said:

> I have a part in an .ac file taht refusees to be selected.  If I 
> substitute another part in the select tags, it works fine but this part 
> doesn't animate.  It doesn't seem to spin either FWIW.  If anybody has 
> any ideas, let me know.  It also seems not to surface-map for some reason.
> Josh
> 
> Here's the guts:
> 
>  <animation>
>   <type>select</type>
>   <object-name>propdisc1</object-name>
>   <condition>
>    <greater-than>
>     <property>/engines/engine[0]/rpm</property>
>     <value>400</value>
>    </greater-than>
>   </condition>
>  </animation>
> 
>  <animation>
>   <type>spin</type>
>   <object-name>propdisc1</object-name>
>   <property>engines/engine[0]/rpm</property>
>   <factor>0.01</factor>
>   <center>
>    <x-m>6.76</x-m>
>    <y-m>-9.13</y-m>
>    <z-m>0.35</z-m>
>   </center>
>   <axis>
>    <x>1.0</x>
>    <y>0.0</y>
>    <z>0.0</z>
>   </axis>
>  </animation>
> 
> OBJECT poly
> name "propdisc1"
> texture 
> "/usr/local/lib/FlightGear-0.9.3/data/Aircraft/b29/Models/4_blade_red_tip.rgb"
> texrep 1 1
> numvert 4
> 6.763604 2.811218 6.674173
> 6.763604 -2.108123 6.674173
> 6.763604 -2.108123 11.593514
> 6.763604 2.811219 11.593513
> numsurf 1
> SURF 0x20
> mat 21
> refs 4
> 0 0.97265625 0.96484375
> 3 0.03125 0.96484375
> 2 0.03125 0.03125
> 1 0.96875 0.03125
> kids 0
> 

You need to split that into more than one surface.  There's a divide option on
the ac3d menu that works fine.  Each object you want to animate must have >1
surface.  This is just one of those plib optimzer annoyances.

Best,

Jim


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to