Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

This feature is can be useful for instant raytracing of fast-moving objects. Normally, a physics proxy will be one frame ahead of the render geometry due to multithreading, which means aiming at the render proxy can miss. Also, pe_status_pos will be guaranteed to return the same coordinates that were set by a preceding pe_params_pos, even if the command was queued and hasn't been fully executed yet.

...

To use these coordinates in RWI, PWI, and GEA, ent_use_sync_coords must be set in objtypes. To use them in pe_status_pos, status_use_sync_coords must be set in flags. By default sync coords are not enabled and not used.