forked from ExtendRealityLtd/VRTK
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Pointer): child straight pointer renderer to smoothing object
There was an issue with the Straight Pointer Renderer with GearVR and the Simulator where it would lag behind the controller due to how the position of the pointer tracer was being updated to always match the smoothing object position, which was in turn being matched to the actual controller position with TransformFollow. The solution is simply childing the pointer container to the smoothing Game Object so it doesn't need the secondary update which causes the lag.
- Loading branch information
1 parent
b2f5b08
commit a0e10d8
Showing
1 changed file
with
11 additions
and
10 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