Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.
By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.
Yep,Thanks Mamu
If I understand correctly, the animation must go clockwise for a lengh of 360°, so, from 0 to -359 ?
Make sure that your sock is attached to an empty with the name "Orientation" and the animations strip in the NLA is Orientation too, that is all is needed to make the orientation workSorry to bump, but I have a little issue.
I made a simple windsock on a pole after @mamu 's tutorial (thanks )
My project compiles in fspackagetool and all animations work correctly in 3D Viewer.
I can also load my model as a SimObject in sim.
My question:
with depreciated code:
-
Orientation
360
-
-
(A:AMBIENT WIND DIRECTION, Degrees)
everything works fine, but with current SDK:
only the wind strength animations work and the orientation ignores the ambient wind.
It must be something simple. Can anyone help?
Edit: Its a Steam installation, I wonder if my xml cant find the ModelBehaviourDefs for the template
Thanks for the reply.Make sure that your sock is attached to an empty with the name "Orientation" and the animations strip in the NLA is Orientation too, that is all is needed to make the orientation work
Inviato dal mio Mi 9 Lite utilizzando Tapatalk
<Template Name="ASOBO_WindDirection_Template">
<DefaultTemplateParameters>
<ANIM_NAME>Orientation</ANIM_NAME>
</DefaultTemplateParameters>
<UseTemplate Name="ASOBO_GT_Anim_Code">
<ANIM_CODE>(A:AMBIENT WIND DIRECTION,degrees) 180 + dnor</ANIM_CODE>
<ANIM_WRAP>1</ANIM_WRAP>
<ANIM_LENGTH>360</ANIM_LENGTH>
</UseTemplate>
</Template>
<Include ModelBehaviourFile="Asobo\Misc\SimObjects.xml"/>
<Include ModelBehaviorFile="Asobo\Misc\SimObjects.xml"/>