Author Topic: Propeller Animation Issue  (Read 403 times)

I've got an animation issue.

I've got two propellers on my plane.  I thought I scripted what was necessary to get both of them to animate in game, but I guess I didn't.  I used the Vehicle_StuntPlane.cs file in the Stunt Plane.zip for reference.  The following code snippet is in my Vehicle_Diamond.cs (Diamond is the name of the vehicle, prop0Rot is the name of the animation sequence in Blender).

Code: [Select]
function Diamondvehicle::onadd(%this,%obj)
{

parent::onadd(%this,%obj);
  %obj.playThread(0,"prop0Rot");

contrailCheck(%obj);

}

I thought I correctly got both propellers to animate (I copy/pasted the function and replaced "prop0Rot" with "prop1Rot").  Only "prop1Rot" worked (kind of).  Am I completely off-track on how to do this?

The working propeller slows down and starts over between animation loops, and I assume this is an issue with my animation efforts in Blender, so I'll post that issue in the Blender help thread.
« Last Edit: July 02, 2014, 04:51:27 PM by Gen. Hothauser »

Everything I did here was completely incorrect. Sorry.