Jump to content
Sign in to follow this  
Chairborne

Animation source for amphibious apc's rotor

Recommended Posts

I've been working on porting the A2 Samples LAV.

One of the things i'd like to include is having the rotors spin when the vehicle is in the water, like the AMV Marshall does.

http://oi59.tinypic.com/s4ylnt.jpg (137 kB)

I took as reference the sample boat but it doesn't seem to work.

		class rotor1
		{
			type = "rotation";
			source = "rotor";
			selection = "rotor1";
			axis = "rotor1_axis";
			memory = 1;
			sourceAddress = "loop";
			minValue = -1.000000;
			maxValue = 1.000000;
			angle0 = (rad 0);
			angle1 = (rad +2880);
		};
		class rotor2: rotor1
		{
			selection = "rotor2";
			axis = "rotor2_axis";
		};

Is there any specific animation source for what i want to do?

Share this post


Link to post
Share on other sites

I have just done this with or ASLAV for ADF-Uncut, i used the original names, the animation source should be 'propeller'

			class VrtuleA
		{
			type="rotation";
			source="propeller";
			sourceAddress="loop";
			memory = 1;//
			selection="vrtulea";
			axis="propA";
			minValue = 0.0;
			maxValue = 1.0;
			minPhase = 0.0;
			maxPhase = 1.0;
			angle0 = "rad 0";
			angle1 = "rad 360";
		};
		class VrtuleB: VrtuleA
		{
			selection="vrtuleb";
			axis="propB";
		};

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×