appwiki:afterfx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revisionBoth sides next revision
appwiki:afterfx [2021/07/20 17:51] yingappwiki:afterfx [2021/10/02 08:08] – [Particular] ying
Line 228: Line 228:
     - in Particular layer's effect option, choose Emitter type as "Lights"     - in Particular layer's effect option, choose Emitter type as "Lights"
  
 +====== AE Expression ======
 +
 +  * use x,z slider to drive isometric movement <code>
 +slideX = effect("x")("Slider");
 +slideZ = effect("z")("Slider");
 +a=30/180*3.141592;
 +[slideX*Math.cos(a)-slideZ*Math.cos(a),-slideX*Math.sin(a)-slideZ*Math.sin(a)]
 +</code>
  
  • appwiki/afterfx.txt
  • Last modified: 2022/07/26 21:35
  • by ying