NetTransform replicates local transform for child entities

Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
This commit is contained in:
AMZN-Olex
2021-09-23 10:20:52 -04:00
parent 5ae35810ae
commit 3c46336ab0
6 changed files with 375 additions and 27 deletions
@@ -50,7 +50,7 @@ namespace Multiplayer
void OnDeactivate(Multiplayer::EntityIsMigrating entityIsMigrating) override;
private:
void OnTransformChangedEvent(const AZ::Transform& worldTm);
void OnTransformChangedEvent(const AZ::Transform& localTm, const AZ::Transform& worldTm);
void OnParentIdChangedEvent(AZ::EntityId oldParent, AZ::EntityId newParent);
AZ::TransformChangedEvent::Handler m_transformChangedHandler;