How to replace the VR touchController in the new openxr template in ue 4.27?

I want to reproduce the laser sword in the game rhythm lightsaber, and I need to replace the VR touch controller. I made a new model and replaced the original model, but the initial position of the new model is incorrect. (see the first picture)
The real grasping direction is opposite to the direction of the model,and it also needs to rotate 45 ° upward to be the correct position.The effect I want is figure 4. How can I adjust it to modify the initial position of the model.


Uploading: 3.jpg…

Try using this code in the construction script, and adjusting the new rotation until your sword is positioned correctly.

RelativeRotation

2 Likes

Thank you very much. Let me try it!