Home > other >  The initial perspective of VR
The initial perspective of VR

Time:09-19


I put the players start on the door, for example, start the perspective of VR games when I was at the door, the premise is I must stand on the center of vive default, I want to stand in the center vive far other position, Angle of view would not be in the door, might wear into the wall or other places

How can you let me stand in any position, began to view all positions at the door (players starting location)??

CodePudding user response:

We are by moving the camera (eye) of the parent solution, the position of camera relative to the door, the parent and how you can move in the opposite direction, if you want to start games helmet toward any direction, the game is toward the direction of the door, also need to get the Angle difference between the door and camera, then through the correct parent point of view, the order is correct helmet toward first, then correct position,

CodePudding user response:

Actually this question, the official of vr games have appeared, such as your controller (camera root node) to the default location in the doorway, face the door, but after you equipment positioning, players, not stand in the center of the HTC positioning, there will be more or less in game location is not quite right (but not too much difference, the distance of a few meters), so the official games and a lot of famous HTC vr games, in order to avoid the embarrassment of wall, almost won't appear near the wall condition, even can move of the game, is also a world map, no wall, to a border, there is no mobile trigger detection, long time don't do vr, but it was the situation that a long time ago, if you simply move the root node of the camera, sensory is your point of view is right, but in fact your controller or have deviation (your position deviation), like head and the body is not together
  • Related