Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: server-authoritative character NetworkAnimator #367

Merged
merged 7 commits into from Oct 15, 2021

Conversation

fernando-cortez
Copy link
Collaborator

@fernando-cortez fernando-cortez commented Sep 14, 2021

Jira task here.

Here, server-authoritative NetworkAnimator is added to the Characters (players, imps, imp boss). With this change the player hierarchy looks like so:

PlayerAvatar (NetworkObject)

  • PhysicsObject (NetworkTransform)
  • PlayerGraphics (Animator & NetworkAnimator)

Animations are now triggered through server-side Action scripts. This change then gets replicated to other clients through NetworkAnimator.

@fernando-cortez fernando-cortez added 1-Needs Review PR needs attention from the assignee and reviewers and removed WIP Work In Progress labels Oct 5, 2021
@fernando-cortez fernando-cortez merged commit 783e52e into develop Oct 15, 2021
@fernando-cortez fernando-cortez deleted the feature/character-networkanimator branch October 15, 2021 19:17
SamuelBellomo added a commit that referenced this pull request Oct 18, 2021
* develop:
  feat: server-authoritative character NetworkAnimator (#367)
  Feature/network object pool (#362)
  Update compatible Unity version in Readme (#376)

# Conflicts:
#	Assets/BossRoom/Prefabs/Character/PlayerAvatar.prefab
#	Assets/BossRoom/Scenes/BossRoom.unity
#	Assets/BossRoom/Scripts/Client/Game/Action/DashAttackActionFX.cs
#	Assets/BossRoom/Scripts/Client/Game/Entity/ClientAvatarGuidHandler.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-Needs Review PR needs attention from the assignee and reviewers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants