I am trying to offset a line trace from the controller. I can do a basic line trace using the forward vector, but I’d like to offset the vector by about 45 degrees to allow for a more natural aim.
I have no idea how to do this. It involves translating from screen space to world space. Any help would be greatly appreciated. I can upload a diagram if I didn’t explain this clearly enough.
Use the rotate vector around axis node use the right vector from your motion controller and set the rotation value to whatever you want. There should be some math samples in the example projects.
Or actually a better choice in this case would be to parent a scene/arrow or whatever component to the motion controller and pose it as you want and use its forward vector instead.