-
Notifications
You must be signed in to change notification settings - Fork 13
MDReplicatedMember
The MDReplicatedMember is the base class used by the MDReplicator to replicate members across the network. This class can be subclassed to allow for other types of members to be replicated across the network. The default implementation of MDReplicatedMember does not use the GameClock, when the GameClock is active the MDClockedReplicatedMember and it's inherted classes are used instead.
The MDClockedReplicatedMember inherits from MDReplicatedMember and has been extended to support usage of the GameClock for replication. By default the framework will use GameClock implementations of the MDReplicatedMember if the GameClock is active. If you wish to override this behaviour you can find an example of how to do that on the Replicated Attribute page.
This implementation of the MDClockedReplicatedMember handles interpolation and prediction for Vector2. It is the default implementation used for any Vector2 when the GameClock is active