Late Update

From Fancade Wiki
Revision as of 20:37, 19 May 2024 by Osmo (talk | contribs) (Updated and revisited the page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Late Update
Late Update.png
TypeScript block
ColliderNone
FolderControl
Ports
Inputs Before
Outputs After Physics
After

Late Update executes scripts after the physics simulation.

Notes

  • Each frame Fancade does the following:
   1. Run scripts
   2. Simulate physics
   3. Run Late Update scripts
   4. Display everything to the screen

Examples

  • Position an object to look visually "glued to" a physics object.
Object B will not lag behind Object A
  • Initialize blocks after they've all added themselves to a list.
The loop is guaranteed to run after all objects have been added to the list
  • Late Update can be used to make invisible physics objects.