308
edits
(→Forum topics: + Forum topic that touches on not using LOD range animations in scenery models) |
(→Touch) |
||
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. | ||
* 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> | <object-name>CanvasPlacement</object-name> | ||
<action> | <action> | ||
<touch>0</touch> | <touch>0</touch> |
edits