Late Update

Revision as of 19:08, 16 May 2024 by Nikitaivanov (talk | contribs) (Created page with "Late Update executes scripts _after_ the physics simulation. /uploads/Late Update1.png Outputs: * After Physics: The scripts you want to run after physics. == Notes == * Each frame Fancade does the following: 1. Run scripts 2. Simulate physics 3. Run Late Update scripts == Examples == A. Position an object exactly "glued to" a physics object File:Screenshot_20210127-091113_6c69499164362a0dbe2f1dfe7c62199a.jpg B. Init...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Late Update executes scripts _after_ the physics simulation.

/uploads/Late Update1.png

Outputs:

  • After Physics: The scripts you want to run after physics.

Notes

  • Each frame Fancade does the following:
   1. Run scripts
   2. Simulate physics
   3. Run Late Update scripts

Examples

A. Position an object exactly "glued to" a physics object File:Screenshot 20210127-091113 6c69499164362a0dbe2f1dfe7c62199a.jpg B. Initialize blocks after they've all added themselves to a list File:Screenshot 20210127-091647 6c69499164362a0dbe2f1dfe7c62199a.jpg C. Late Update can be used to make invisible physics objects File:Screenshot 20210127-091506 6c69499164362a0dbe2f1dfe7c62199a.jpg