-
-
Notifications
You must be signed in to change notification settings - Fork 993
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Pointer): update pointer position in fixed update
The Straight Pointer Renderer position was being updated using the Transform Follow script and this was defaulting to using the OnPreRender moment to update position. This had a knock on effect that the pointer Object Interactor position was being updated in a Fixed Update but this meant that the Object Interactor position was not correctly updated to the correct pointer position as the pointer position was always slightly slower due to being on the OnPreRender setting. The solution is to ensure the Pointer position is updated via FixedUpdate as well to ensure the position of the pointer is correct for when the Object Interactor is updated in the Fixed Update routine.
- Loading branch information
1 parent
aac394e
commit 65f600e
Showing
3 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters