You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use an Empty game object with a LineRenderer as a BelzierPointerRenderer's Customer Tracer for teleporting. Frequently when teleporting, the Belizer tracer will flash briefly pointing at an incorrect location before immediately updating to the proper location, i.e. where the cursor is.
More explicitly, by teleporting from point X to point Y, then attempting to teleport to point Z, the Belzier tracer will flash briefly pointing towards point X before updating and pointing correctly to point Z. In other words, the curve will still briefly reflect the previous X->Y curve before updating to the current Y->Z curve.
This appears (my guess) to be caused by BelzierPointerRenderer's ToggleRenderer() function calling TogglePointerTracer(pointerState, actualState) prior to the Belzier curve is calculated to the appropriate target. Commenting out the TogglePointerTracer() call eliminates the issue.
Not sure if this part helps, but this issue appears to be specific to the LineRenderer. If I attach a Mesh Filter to the object with the LineRenderer, ONLY the line appears to exhibit this issue, while the associated mesh does not.
The text was updated successfully, but these errors were encountered:
Closing this as it's related to an older version of VRTK (v3.3) the master branch is now on VRTK v4. Feel free to request to reopen if the issue is still present.
Environment
Steps to reproduce
Use an Empty game object with a LineRenderer as a BelzierPointerRenderer's Customer Tracer for teleporting. Frequently when teleporting, the Belizer tracer will flash briefly pointing at an incorrect location before immediately updating to the proper location, i.e. where the cursor is.
More explicitly, by teleporting from point X to point Y, then attempting to teleport to point Z, the Belzier tracer will flash briefly pointing towards point X before updating and pointing correctly to point Z. In other words, the curve will still briefly reflect the previous X->Y curve before updating to the current Y->Z curve.
This appears (my guess) to be caused by BelzierPointerRenderer's ToggleRenderer() function calling TogglePointerTracer(pointerState, actualState) prior to the Belzier curve is calculated to the appropriate target. Commenting out the TogglePointerTracer() call eliminates the issue.
Not sure if this part helps, but this issue appears to be specific to the LineRenderer. If I attach a Mesh Filter to the object with the LineRenderer, ONLY the line appears to exhibit this issue, while the associated mesh does not.
The text was updated successfully, but these errors were encountered: