where to attach player script for VR games?

Hi,

What is the best place to attach a player script in VR games? So seems like sometimes in non VR games a player script is attached to a player object. In case of VR I have XR Origin including main camera, left hand controller, right hand controller. What is the best place to attach a player script to include things like interactables, collisions etc? Should I create a body object or something?

either make a parent for the player or just use the XR Origin

1 Like