Skip to main content
16-Pearl
May 28, 2018 7:13 AM UTC
Question

Walk trough an AR experience like in Google Street View

Our prospect builds rather large plants and wants to have a functionality that makes it possible to walk through an AR experience by tapping waypoints or buttons that bring him to different location within the model.

 

Why?:

  • Often there is not enough room to walk around long distances.
  • Doing products demos for a product is easiert when it is possible to jump to different positions in the model.

Thanks for your suggestions.

2 replies

16-Pearl
Jun 14, 2018 5:07 AM UTC

The easiest way I can think of would be to move the model around underneath you.

 

  1. Create application parameters for the position and rotation of the plant model and bind them to the model values.

    Untitled.png
  2. Create some javascript functions to change the values of the plant position so that it moves underneath you.

    $scope.front = function () {
    $scope.app.params['model_x'] = 0;
    $scope.app.params['model_y'] = 0;
    $scope.app.params['model_z'] = 0;
    }


    $scope.back = function () {
    $scope.app.params['model_x'] = 7.43;
    $scope.app.params['model_y'] = -0.917;
    $scope.app.params['model_z'] = 19.87;
    }

  3. Create some buttons that can be clicked on to run the java function and the model will jump underneath you to the new position.

    Untitled.png

Hope this helps.

 

Allan

 

Translate
pjahn16-PearlAuthor
16-Pearl
Jun 15, 2018 9:25 AM UTC

Thanks. I will try your solution.

Translate