com.unity.netcode.gameobjects icon indicating copy to clipboard operation
com.unity.netcode.gameobjects copied to clipboard

fix: provide alternate tick registration method

Open NoelStephensUnity opened this issue 1 year ago • 0 comments

This PR provides an alternate way to register a NetworkRigidbodyBase instance (child) with a root NetworkRigidbodyBase instance (parent) for tick synchronizing a joint attached child's state updates with the parent's/root's state updates.

Changelog

  • Added: NetworkRigidbodyBase.AddToTickSynchronizedUpdates for custom joint type solutions that just need to keep the attached objects synchronized with the root (parent) that the object(s) are attached to.
  • Added: NetworkRigidbodyBase.RemoveFromTickSynchronizedUpdates to remove any added NetworkRigidbodyBase instances from tick synchronized updates.

Testing and Documentation

  • No tests have been added.
  • Documentation changes are needed (public documentation on usage).

NoelStephensUnity avatar Aug 21 '24 14:08 NoelStephensUnity