You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you cast "up" while desynchronized, pillar shows only on you. That is a good thing.
However, on resynchronization, I kill all pillars, otherwise real desync would happen.
Ideally, on resynchronization, the pillars while desynced would merge in the same game.
Let's see at an example. You cast "branch"
You move away from the other player, and mage casts "up"
Both players have 1 pillar (different position)
When you cast "link", both players should have 2 pillars, adding the pillar of the other player.
Code-wise, I would have to refactor how "up" works for netcoding, as currently, it is a hack on "wait some frames, then relocate", instead of truly creating a new pillar.
The important classes to refactor:
FinalPillarBehaviour.cs
NetworkSpellcasting.cs
and of course, use PillarStorage (see LevelManager.cs) to check the diff pillars on resynchronization.
Ideally, you would mark which pillars were made on desynchronization, and send to the other player to create these pillars alongside their positions.
The text was updated successfully, but these errors were encountered:
When you cast "up" while desynchronized, pillar shows only on you. That is a good thing.
However, on resynchronization, I kill all pillars, otherwise real desync would happen.
Ideally, on resynchronization, the pillars while desynced would merge in the same game.
Let's see at an example. You cast "branch"
You move away from the other player, and mage casts "up"
Both players have 1 pillar (different position)
When you cast "link", both players should have 2 pillars, adding the pillar of the other player.
Code-wise, I would have to refactor how "up" works for netcoding, as currently, it is a hack on "wait some frames, then relocate", instead of truly creating a new pillar.
The important classes to refactor:
Ideally, you would mark which pillars were made on desynchronization, and send to the other player to create these pillars alongside their positions.
The text was updated successfully, but these errors were encountered: