Jump to content
Sign in to follow this  
eagledude4

Animation angles not being set to 0

Recommended Posts

I want the needle to start where I have it in the p3d (should represent 0 right?) but when I get in the vehicle, it doesnt show at the same angle.

class IndicatorRPM {
               type="rotation";
               source="rpm";
               memory = 1;//by default
               animPeriod = 0;//Unknown
               selection="rpm";
               axis="axis_rpm";
               minValue = 0.0;//rad 0.0
               maxValue = 1.0;//rad 57.29578
               minPhase = 0.0;//rad 0.0
               maxPhase = 1.0;//rad 57.29578
               angle0 = 0.0;//rad 0.0;
               angle1 = -2.96706;//rad -170.00002;
           };

NOTE: In bulldozer, when I preview the animation and set it to 0, it goes to the right place.

I'm guessing "angle0 = 0.0;//rad 0.0;" is the issue, and that 0 doesn't actually represent the starting position in the model?

Edited by eagledude4

Share this post


Link to post
Share on other sites

? odd

Either your engine is already running or the vehicle type (which? ) has an preset RPM

Share this post


Link to post
Share on other sites

I'm not inheriting any exterior vehicle classes in the model.cfg so how could that be? (sorry for the late reply)

Share this post


Link to post
Share on other sites

SHouldnt matter

You havent named it something else also (dual named), and that animation is interfering?

Share this post


Link to post
Share on other sites

Nothing in the model.cfg is interfering that I can tell. I guess it makes sense for it to change from 0 when the engine is running, so I guess this isn't actually an issue.

Edited by eagledude4

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  

×