Howto:Animate models: Difference between revisions

Jump to navigation Jump to search
(→‎Forum topics: + Forum topic that touches on not using LOD range animations in scenery models)
Line 830: Line 830:
The touch animation provides the normalized coordinates of a touch (or click) event on a 2d surface. The coordinates are passed in the argument and can be accessed using cmdarg() in Nasal.
The touch animation provides the normalized coordinates of a touch (or click) event on a 2d surface. The coordinates are passed in the argument and can be accessed using cmdarg() in Nasal.


See more info here: [[Touch Animation]]
* Touch animation is designed to work with a quad that is being used as a Canvas placement (display).
* The touch animation must not be combined with a pick animation on the same object.
* More info here: [[Touch Animation]]
 
==== touch example ====


     <animation>
     <animation>
         <type>touch</type>
         <type>touch</type>
         <visible>true</visible>
         <visible>true</visible>
         <object-name>VSDImage</object-name>
         <object-name>CanvasPlacement</object-name>
         <action>
         <action>
             <touch>0</touch>
             <touch>0</touch>
308

edits

Navigation menu