Howto:Animate models: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
m (extended little further)
mNo edit summary
Line 86: Line 86:
   </axis>
   </axis>
  </animation>
  </animation>
===Name===
With an name animation, you can group multiple objects.
<animation>
  <name>Collection1</name>
  <object-name>Object1</object-name>
  <object-name>Object2</object-name>
  <object-name>Object3</object-name>
</animation>
The example above creates a "virtual object" with the name Collection1. In animation, we can animate this group of objects, by using:
<object-name>Collection1</object-name>


==Animation types==
==Animation types==
===Noshadow===
<animation>
  <type>noshadow</type>
  <object-name>Object</object-name>
</animation>
===Pick===
===Pick===
{{Main article|Howto: Make a clickable panel#Pick}}
{{Main article|Howto: Make a clickable panel#Pick}}
Line 154: Line 174:
   </condition>
   </condition>
  </animation>
  </animation>
===Shader===
<animation>
  <type>shader</type>
  <shader>chrome</shader>
  <texture>chrome2.png</texture>
  <object-name>Object</object-name>
</animation>
* '''shader:'''
* '''texture:''' path to the texture used by the shader.


===Spin===
===Spin===

Navigation menu