Home > other >  G about U3D, HTC mobile VIVE cameras follow object
G about U3D, HTC mobile VIVE cameras follow object

Time:09-26

Have a fucking demand, rotation of the VR camera to follow the object in the scene, cannot turn,

Also is put on the helmet, turn head, don't let to see behind the scenes, keep perspective synchronization should be how to realize the object??????

CodePudding user response:

do not lose the meaning of the VR headsets, that do not use the Camera to HTC the script directly, head directly to show when the display, if you have other functions can be to only that part to rotate the commented out in the script, then the Camera as the specified object's son, so that the object did not move, the picture did not move,

CodePudding user response:

In the static camera rotation, XR API, you can check,
To a certain rotary Angle of rotation to yourself and don't to calculate, when go to a certain Angle is limited

CodePudding user response:

Brother is you ah ha ha ha, I now use is version 5.6, this version is no XR this class library directly,,,

CodePudding user response:

Great god said on the second floor of the comments that the rotation of the script code? For help, I also feel the demand is very sick, but now, helmet if turn, can penetrate the personal, without the experience of the first person,

CodePudding user response:

The
reference 4 floor qq_26157947 reply:
great god said the comments that the rotation of the script code on the second floor? For help, I also feel the demand is very sick, but now, helmet if turn, can penetrate the personal, not the first person experience,

If you just can't think through the body, can adjust the Camera's minimum rendering distance, limit of the code is SteamVR plug-in the Camera code, detailed can't remember, you are looking for a head or eye of related code, have set the rotation, give it a try

CodePudding user response:

reference qq_26157947 reply: 3/f
brother is you ah ha ha ha, I now use is version 5.6, this version is no XR this class library directly,,,
5.6 should be VR

CodePudding user response:

Yes, very afflictive, migration project now get bad also, again, there is no other solution
  • Related