Commit Graph

5 Commits

Author SHA1 Message Date
Karrar
1b0d33d8f0 Read the description for detailed changes.
- Added `Sandbox.Players`: a synchronized list of `NetworkPlayerId` structs representing connected players.
- Added `Sandbox.Events.OnPlayerJoined` and `Sandbox.Events.OnPlayerLeft` callbacks, synchronized across all clients.
- Changed internal interpolation of quaternions to use `Slerp` instead of `Lerp`.
- Fixed a potential crash caused by undefined behavior when reaching `NetickConfig.MaxPlayers` and destroying network objects.
- Fixed an issue where sandbox-loaded scenes were not being unloaded during shutdown.
- Fixed a bug preventing Prediction Error Correction from functioning correctly.
2025-06-27 05:47:00 +03:00
Karrar
ae40087bef Added support for custom scene handling, in addition to an addressable scene handler. 2025-03-11 07:05:45 +03:00
Karrar
c5ebb22afd Made a small change to PlayerSpawner in how the spawn position is calculated. 2025-03-01 01:44:32 +03:00
Karrar
f56df7fc48 Moved PlayerSpawner to Netick.Samples namespace. 2025-02-28 21:25:08 +03:00
Karrar
b21cb08db4 Added PlayerSpawner, a helper script for quick prototyping, used to spawn/despawn a player prefab when a player (client or host) has connected/disconnected. 2025-02-28 00:28:53 +03:00