I probably missed it, but how is that done? I can't find instructions on that, sorry.
And I have the same problem.In RotX I entered 0, 90, 180, 270, and 360. The numbers did not stay as I entered them, I ended up with 0, 90, -180, 90, and 0. I tried several times and they always changed to those numbers.
This resulted in the part rotating 180 degrees and then reversing course and rotating back to the start point. Not a complete rotation.
Could it be, Christian, that this is only for simobjects and not for scenery objects?(O:Weather.AmbientWindDirection, Degrees) 360.0 / 100 *
For SimObjects, I have never tested the code. The code refers to BGL files or objects that can be stored in a BGL-Lib. The code certainly works with BGL files.Could it be, Christian, that this is only for simobjects and not for scenery objects?
Your code is incomplete, it should be structured as follows:Unless, which is probable, I have done something wrong? (I have no bones for the moment, my dog ran off with them).
Can someone figure it out?
The animation should be as follows:I also had some issues entering the rotations. I used 0, 90, - 180, - 90, 0 in the end.
<?xml version="1.0" encoding="utf-8" ?> <ModelInfo> <Animation name="wind_rotate" guid="11ea2877-6bee-41ef-8216-4a3306815e5c" length="100" type="Sim" typeParam2="wind_rotate" typeParam="AutoPlay" /> <PartInfo> <Name>wind_rotate</Name> <AnimLength>100</AnimLength> <Animation> <Parameter> <Code> (O:Weather.AmbientWindDirection, Degrees) 360.0 / 100 * </Code> <Lag>10</Lag> </Parameter> </Animation> </PartInfo> </ModelInfo>