Announcement

Collapse
No announcement yet.

Reload Level and keep position and orientation in VR

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [VIVE] Reload Level and keep position and orientation in VR

    I'm trying to figure out a way to reload my current level in VR but keep my location and orientation in VR. When I use the Open Level node in Blueprint, it takes me back to the pawn start point. I tried using a Game Instance to save my pawn transform before loading the level, but I cant figure out the vector math to move the pawn back to the previous transform.

    Any ideas on the correct vector math?

    #2
    I think you should create a boolean variable in your game instance. Before openning level, set it to true. In your Level blueprint(BeginPlay), try to check the bool value. If true, use your expected value to set your pawn location and rotation. Finally, remenber to set it to false.

    Comment

    Working...
    X