Commit 35b7fbe
committed
update
Exposing internal access to position and rotation interpolators for future tests and tools.
Noticed the slerp for full precision rotation was only being applied when using Lerp, now it is for all interpolation types.
Making the time to approximately reach adjustment be the default when there is no pending item to be consumed and slightly sooner when there is.
Removing the adjustment to the slerp smoothing as this should be a consistantly applied value for all interpolation types.1 parent 643329a commit 35b7fbe
File tree
2 files changed
+18
-10
lines changed- com.unity.netcode.gameobjects/Runtime/Components
- Interpolator
2 files changed
+18
-10
lines changedLines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
| 338 | + | |
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
466 | | - | |
| 466 | + | |
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
| |||
574 | 574 | | |
575 | 575 | | |
576 | 576 | | |
577 | | - | |
578 | | - | |
| 577 | + | |
| 578 | + | |
579 | 579 | | |
580 | | - | |
| 580 | + | |
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
| |||
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4045 | 4045 | | |
4046 | 4046 | | |
4047 | 4047 | | |
| 4048 | + | |
| 4049 | + | |
| 4050 | + | |
| 4051 | + | |
| 4052 | + | |
| 4053 | + | |
| 4054 | + | |
| 4055 | + | |
| 4056 | + | |
4048 | 4057 | | |
4049 | 4058 | | |
4050 | 4059 | | |
| |||
4145 | 4154 | | |
4146 | 4155 | | |
4147 | 4156 | | |
4148 | | - | |
| 4157 | + | |
| 4158 | + | |
| 4159 | + | |
| 4160 | + | |
4149 | 4161 | | |
4150 | 4162 | | |
4151 | | - | |
4152 | | - | |
4153 | | - | |
4154 | | - | |
4155 | 4163 | | |
4156 | 4164 | | |
4157 | 4165 | | |
| |||
0 commit comments