- Home /
XR Ray / Line renderer on the floor
When using Unity XR, the XR Ray Interactor / Line renderer seems to be stuck on position 0,0,0.
When rotating, the line is still 0,0,0
relative to the play area position so it seems that it's using the XR Rigs 0,0,0
position as a starting point for the line.
I've followed LevelUp's tutorial on how to have an action based grab and teleport controller if that helps, but there isn't anything there that changes the behaivour of the line renderers: https://www.youtube.com/watch?v=wGvh7Suo1h4
Any ideas?
Stack overflow question: https://gamedev.stackexchange.com/questions/194777/unity-xr-ray-line-renderer-on-the-floor
Answer by Riiich · Aug 31, 2021 at 02:41 PM
Issue was that one of the components on the controller was disabled with the TeleportationManager script (from the tutorial in the video) and that was messing with the Line Renderer
Your answer
Follow this Question
Related Questions
Unet - adding [Command] function to Action C# 0 Answers
SteamVR invoke actions 0 Answers
how do an action onclick an object? 3 Answers
Adding UnityAction to UnityEvent from code 1 Answer
Serializable UnityActions 0 Answers