en:toolworks:docs:apparatus:steady-tick

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:toolworks:docs:apparatus:steady-tick [2021/03/24 15:47] vladiusen:toolworks:docs:apparatus:steady-tick [2021/04/02 20:47] vladius
Line 45: Line 45:
 During the variable "native" ticking we have to interpolate between the previous steady state and the next one. It's up to the user to do the actual interpolation but Apparatus provides a functional basis to do this. During the variable "native" ticking we have to interpolate between the previous steady state and the next one. It's up to the user to do the actual interpolation but Apparatus provides a functional basis to do this.
  
-First of all there is a steady frame ratio node:+Firstthere is a steady frame ratio node available: 
 + 
 +{{ :en:toolworks:docs:apparatus:steady-frame-ratio-node.png?nolink |}} 
 + 
 +This node returns the ratio of the current variable tick in relation to an active steady frame it resides within. For a better understanding see the following schematic: 
 + 
 +{{ :en:toolworks:docs:apparatus:steady-frame-ratio.svg |}} 
 + 
 +This ratio, which is bound from 0.0 to 1.0 (both inclusively), can be used to interpolate the animated visual feedback of some value based on its previous and the next state. In order to achieve that, your steady ticking mechanics have to prepare both states during their processing, while perhaps swapping the past state with the future one. The usual variadic ticking then can use a [[https://docs.unrealengine.com/en-US/BlueprintAPI/Math/Float/Lerp/index.html|Lerp]] node to implement the actual smoothing.
  
  
  • en/toolworks/docs/apparatus/steady-tick.txt
  • Last modified: 2021/04/08 22:24
  • by vladius