How to grab and rotate objects in VR by SteamVR pointer

Heyho nice people :slight_smile:

I am currently trying to figure out, how to grab objects with simply pointing at them with the SteamVR Laser Pointer and pressing a button or smth to attach it, so I can rotate it by controller rotation like its working when directly hand-grabbing an object.


Thereby I dont want to change position of an object while rotating.


Does anyone know how this can be accomplished?
I am very new to Unity and VR, so much advice and help is needed ^^


Thank you so much :3

So, you want to change the rotation, but not the position? You could set the GameObject’s rotation to that of the controller’s, and not touch the position at all.