Maik Justus wrote:
Hello Erik,

I tried to add animation for separate blades, but I failed. (The animation file seemed to me that it is possible, but...).


This is not tested, and may not work directly, but hetting it to work might be a matter of changing the object-name's.

Make sure you use the right property for the blade rotation anitmation.

Erik
<?xml version="1.0"?>

<PropertyList>
	<path>bo105.ac</path>
	<offsets>
		<z-m>-.2</z-m>
		<roll-deg>5</roll-deg>
		<heading-deg>-90</heading-deg>
	</offsets>

	<animation>
		<type>spin</type>
		<object-name>rotor</object-name>
		<object-name>blatt1</object-name>
		<object-name>blatt2</object-name>
		<object-name>blatt3</object-name>
		<object-name>blatt4</object-name>
		<property>/engines/engine[0]/rpm</property>
		<factor>0.1</factor>
		<center>
			<x-m>0</x-m>
			<y-m>0</y-m>
			<z-m>0</z-m>
		</center>
		<axis>
			<x>0.0</x>
			<y>0.0</y>
			<z>1.0</z>
		</axis>
	</animation>

        <animation>
                <type>rotate</type>
                <object-name>blatt1</object-name>
                <property>/engines/engine[0]/rpm</property>
                <factor>0.1</factor>
                <center>
                        <x-m>0</x-m>
                        <y-m>0</y-m>
                        <z-m>0</z-m>
                </center>
                <axis>
                        <x>0.0</x>
                        <y>1.0</y>
                        <z>0.0</z>
                </axis>
	</animation>

	<animation>
                <type>rotate</type>
                <object-name>blatt3</object-name>
                <property>/engines/engine[0]/rpm</property>
                <factor>0.1</factor>
                <center>
                        <x-m>0</x-m>
                        <y-m>0</y-m>
                        <z-m>0</z-m>
                </center>
                <axis>
                        <x>0.0</x>
                        <y>-1.0</y>
                        <z>0.0</z>
                </axis>
        </animation>

	<animation>
                <type>rotate</type>
                <object-name>blatt2</object-name>
                <property>/engines/engine[0]/rpm</property>
                <factor>0.1</factor>
                <center>
                        <x-m>0</x-m>
                        <y-m>0</y-m>
                        <z-m>0</z-m>
                </center>
                <axis>
                        <x>1.0</x>
                        <y>0.0</y>
                        <z>0.0</z>
                </axis>
        </animation>

        <animation>
                <type>rotate</type>
                <object-name>blatt4</object-name>
                <property>/engines/engine[0]/rpm</property>
                <factor>0.1</factor>
                <center>
                        <x-m>0</x-m>
                        <y-m>0</y-m>
                        <z-m>0</z-m>
                </center>
                <axis>
                        <x>-1.0</x>
                        <y>0.0</y>
                        <z>0.0</z>
                </axis>
        </animation>

	<animation>
		<type>spin</type>
		<object-name>heckrotor</object-name>
		<property>/engines/engine[0]/rpm</property>
		<factor>-0.1</factor>
		<center>
			<x-m>0</x-m>
			<y-m>5.90</y-m>
			<z-m>1.87</z-m>
		</center>
		<axis>
			<x>1.0</x>
			<y>0.0</y>
			<z>0.0</z>
		</axis>
	</animation>
</PropertyList>
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to