Commit Graph

6 Commits

Author SHA1 Message Date
Karrar
07feb115b3 Added a warning for [Networked] structs when float-quantizable members (e.g., float, Vector2, Vector3) are declared as fields instead of properties. 2025-06-28 04:23:33 +03:00
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
c5ebb22afd Made a small change to PlayerSpawner in how the spawn position is calculated. 2025-03-01 01:44:32 +03:00
Karrar
01d6efd4b4 Fixed an issue with calculating the normal on a box HitShape. 2024-10-08 15:36:58 +03:00
Karrar
daa599f0fc Read the description for commit details.
- Added `OnSceneOperationBegan` and `OnSceneOperationDone`. These are network events for when a scene load/unload operation begins and when it is finished, they offer more information than the older equivalent methods. `OnSceneLoadStarted` and `OnSceneLoaded` are now marked as `[Obsolete]` and will be removed in the future.
- Added `Teleport` method to `NetworkTransform`, `NetworkRigidbody`, and `NetworkRigidbody2D`. This allows you to skip interpolation for one tick.
- Fixed an issue causing scene objects to not get destroyed for late joiners.
2024-04-28 12:06:20 +03:00
Karrar
0caf47a728 auto 2024-03-27 22:26:13 +03:00