Difference between revisions of "Basic Animation Tutorial"
Jump to navigation
Jump to search
→Creating a Texture Transform Controller animation
imported>XMarksTheSpot (Yet another edit of the download link -> TESNexus) |
imported>Shamus |
||
|
This is due to a missing target link in the ''NiTextureTransformController'' that is contained in the .kf file. You can fix this via assigning a target - simply enter the node number of the ''NiTexturingProperty'' of the '''''Target''''' mesh node into the ''Target Block Details'' entry of the ''NiTextureTransformController'' (similar to [[#Creating a Visibility Controller animation|Fig. 4]]).<br>
Also the ''NiMultiTargetController'', which will be created automatically, is targeting the '''''Target''''' mesh node (which will cause an error message, too); simply remove the ''NiMultiTargetController'' block as it is not needed there anyway.
''The animation will work without applying any of these fixes though''.</blockquote
<blockquote>'''Note''':The texture animation won't work on a texture that has a normal map. You must set the emmisive colour contained in the MaterialProperty of the targeted NiTriStrips to White (ffffff) instead of the default Black, for a texture without a normal map to show up ingame..</blockquote><br>If you don't want your targeted object to behave like that see [[#Tweaking an animation|Tweaking an animation]].<br><br>
[[Image:AnimGuide_Fig_5_Changing_Animation_Time_Frame.gif|thumb|right|'''Fig. 5''': Updating the animation's global time frame after adjusting keyframe values.]]
===Tweaking an animation===
| |||