Commit 2b92028
authored
* fix
This fixes an issue with interpolation causing nonauthoritative NetworkTransform instances to not properly reflect the final axis values when parenting changes.
* test
Updating the parenting test to validate the fix for parenting a nested NetworkTransform and assuring that values are the same.
* fix
Handle the condition that no new states have been pushed for a late joining client.
(i.e. it just synchronized a nested NetworkTransform and that is it)
* test
Did an overhaul on the parented NetworkTransformTest (formerly NetworkTransformParentedLocalSpaceTest), renamed it to ParentedNetworkTransformTest, and now it tests both world and local space values depending upon how the NetworkObject is parented.
* style
removing commented out code.
* update
Adding entry to changelog
* fix
Migrating SetStateInternal into the Initialization method so it handles change of ownership.
1 parent cd50a00 commit 2b92028
File tree
3 files changed
+198
-64
lines changed- com.unity.netcode.gameobjects
- Components
- Tests/Runtime/NetworkTransform
3 files changed
+198
-64
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
Lines changed: 39 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2392 | 2392 | | |
2393 | 2393 | | |
2394 | 2394 | | |
2395 | | - | |
2396 | | - | |
2397 | | - | |
2398 | | - | |
2399 | | - | |
2400 | | - | |
2401 | | - | |
2402 | | - | |
2403 | | - | |
2404 | | - | |
2405 | 2395 | | |
2406 | 2396 | | |
2407 | 2397 | | |
| |||
2472 | 2462 | | |
2473 | 2463 | | |
2474 | 2464 | | |
| 2465 | + | |
2475 | 2466 | | |
2476 | 2467 | | |
2477 | 2468 | | |
| |||
2483 | 2474 | | |
2484 | 2475 | | |
2485 | 2476 | | |
| 2477 | + | |
| 2478 | + | |
| 2479 | + | |
2486 | 2480 | | |
2487 | 2481 | | |
2488 | 2482 | | |
| |||
2494 | 2488 | | |
2495 | 2489 | | |
2496 | 2490 | | |
2497 | | - | |
| 2491 | + | |
2498 | 2492 | | |
2499 | | - | |
| 2493 | + | |
2500 | 2494 | | |
2501 | 2495 | | |
2502 | 2496 | | |
2503 | 2497 | | |
2504 | 2498 | | |
2505 | 2499 | | |
| 2500 | + | |
| 2501 | + | |
| 2502 | + | |
| 2503 | + | |
| 2504 | + | |
| 2505 | + | |
| 2506 | + | |
| 2507 | + | |
| 2508 | + | |
| 2509 | + | |
| 2510 | + | |
| 2511 | + | |
| 2512 | + | |
| 2513 | + | |
| 2514 | + | |
| 2515 | + | |
| 2516 | + | |
| 2517 | + | |
| 2518 | + | |
| 2519 | + | |
| 2520 | + | |
| 2521 | + | |
| 2522 | + | |
| 2523 | + | |
| 2524 | + | |
| 2525 | + | |
| 2526 | + | |
2506 | 2527 | | |
2507 | 2528 | | |
2508 | 2529 | | |
| |||
2656 | 2677 | | |
2657 | 2678 | | |
2658 | 2679 | | |
| 2680 | + | |
| 2681 | + | |
| 2682 | + | |
| 2683 | + | |
| 2684 | + | |
| 2685 | + | |
2659 | 2686 | | |
2660 | 2687 | | |
2661 | 2688 | | |
| |||
0 commit comments